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

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