Debian Codegraph @

js/src/jit-test/tests/debug/bug1240546.js

raw
1 // |jit-test| allow-oom; skip-if: !hasFunction.oomAfterAllocations
2
3 var g = newGlobal();
4 g.debuggeeGlobal = this;
5 g.eval("(" + function() {
6 oomAfterAllocations(100);
7 var dbg = Debugger(debuggeeGlobal);
8 dbg.onEnterFrame = function(frame) {}
9 } + ")()");