Add test

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
diff --git a/streams/piping/crashtests/cross-piping.html b/streams/piping/crashtests/cross-piping.html
new file mode 100644
index 0000000..712d5ec
--- /dev/null
+++ b/streams/piping/crashtests/cross-piping.html
@@ -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>