summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/api/response/many-empty-chunks-crash.html
blob: fe5e7d4c0754a0c53a474be6d28de892dc9451c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<script>
  new Response(new ReadableStream({
    start(c) {

      for (const i of new Array(40000).fill()) {
        c.enqueue(new Uint8Array(0));
      }
      c.close();

    }
  })).text();
</script>