summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1802478.js
blob: d37188d5763f917918406ccfc4445e3a63ef08c6 (plain)
1
2
3
4
5
6
7
8
enableTrackAllocations();
for (a of "x") {
  gczeal(2, 1);
}
oomAfterAllocations(1);
try {
  newString();
} catch (x) {}