summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1280588.js
blob: a6b2c4f0756332edf8911d05adcca6630e7b956a (plain)
1
2
3
4
5
// |jit-test| skip-if: !('oomTest' in this)

var x = [];
oomTest(() => setGCCallback({ action: "minorGC" }));
oomTest(() => setGCCallback({ action: "majorGC" }));