Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /streams/readable-byte-streams/crashtests/tee-from-scroll-crash.html - WPT Dashboard Interop Dashboard
<body style="height: 10000px">
<body style="height: 10000px">
<script>
onscroll = () => {
const [readableStream] = new ReadableStream({
type: "bytes",
start(c) { c.enqueue(new Uint8Array([1])); }
}).tee();
readableStream.getReader().read();
};
scrollTo(0, 100);
</script>