Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
Depends on D176697

Differential Revision: https://phabricator.services.mozilla.com/D176698

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1830190
gecko-commit: 6a55c2390d7bd9bca988ebed6ffc44c29460cd50
gecko-reviewers: mgaudet
  • Loading branch information
saschanaz authored and moz-wptsync-bot committed Jul 21, 2023
1 parent be1b6f6 commit b6cddc4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions streams/piping/crashtests/cross-piping.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!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>

0 comments on commit b6cddc4

Please sign in to comment.