mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Otherwise, the remote end believes it is still entangled and may try to access its own (now null) remote port. This fixes a crash in WPT.
13 lines
317 B
HTML
13 lines
317 B
HTML
<!DOCTYPE html>
|
|
<script type="module">
|
|
let a = new ReadableStream();
|
|
let b = self.open()
|
|
let f = new b.WritableStream();
|
|
a.pipeThrough(
|
|
{ "readable": a, "writable": f },
|
|
{ "signal": AbortSignal.abort() }
|
|
)
|
|
await new Promise(setTimeout);
|
|
structuredClone(undefined, { "transfer": [f] })
|
|
</script>
|