Debian Codegraph @

js/src/jit-test/tests/auto-regress/bug1918978.js

raw
1 // |jit-test| --no-ggc
2
3 const x = new ArrayBuffer(1, {
4 maxByteLength: 1,
5 });
6
7 oomTest(() => {
8 for (let i = 0; i < 5; ++i) {
9 new Int8Array(x);
10 }
11 });
12
13 fullcompartmentchecks(true);
14 gc();