summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-1714532-oom-gc-yield.js
blob: be03cba392e0633d1942b6672686505bfaa671d0 (plain)
1
2
3
4
5
6
7
8
9
// |reftest| skip-if(!this.hasOwnProperty("oomTest"))

oomTest(function() {
    grayRoot();
    gczeal(8);
    gcslice(this);
});

this.reportCompare && reportCompare(true, true, 'An OOM while gray buffering should not leave the GC half-done');