summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1792338.js
blob: 8f02c8c7d67d94b08ee0def21437b771d659b01f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| allow-unhandlable-oom; skip-if: (getBuildConfiguration("android") && getBuildConfiguration("debug"))

gczeal(0);
if (!this.enqueueMark) {
  quit();
}

enqueueMark('set-color-gray');
enqueueMark(newGlobal({newCompartment: true}));
enqueueMark('set-color-black');
enqueueMark({});
setMarkStackLimit(1);
gc();
gc();