Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /streams/readable-streams/tee-detached-context-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<body>
<script>
const i = document.createElement("iframe");
document.body.appendChild(i);
const rs = new i.contentWindow.ReadableStream();
i.remove();
// tee() on a ReadableStream from a detached iframe should not crash.
rs.tee();
</script>
</body>