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

13 lines
267 B
HTML

<!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>