summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/FileAPI/blob/Blob-stream-byob-crash.html
blob: 5992ed1396ca907049f1f4181e5cf7a93ae7e7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
<!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>