Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            - /FileAPI/blob/Blob-stream-byob-crash.html - WPT Dashboard Interop Dashboard
 
<!DOCTYPE html>
<script type="module">
  let a = new Blob(['', '', undefined], { })
  let b = a.stream()
  let c = new ReadableStreamBYOBReader(b)
  let d = new Int16Array(8)
  await c.read(d)
  c.releaseLock()
  await a.text()
  await b.cancel()
</script>