Debian Codegraph @

testing/web-platform/tests/streams/readable-streams/tee-detached-context-crash.html

raw
1 <!doctype html>
2 <body>
3 <script>
4 const i = document.createElement("iframe");
5 document.body.appendChild(i);
6
7 const rs = new i.contentWindow.ReadableStream();
8 i.remove();
9
10 // tee() on a ReadableStream from a detached iframe should not crash.
11 rs.tee();
12 </script>
13 </body>