summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1242111.js
blob: ebfc2eec7013ecc8d89e205b34b9138a2d0952a9 (plain)
1
2
3
4
5
6
7
8
// |jit-test| allow-oom; skip-if: !hasFunction.oomAfterAllocations

var g = newGlobal();
g.debuggeeGlobal = [];
g.eval("(" + function() {
    oomAfterAllocations(57);
    Debugger(debuggeeGlobal).onEnterFrame = function() {}
} + ")()");