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

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