summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1292564.js
blob: 56918093f8f61c8edb64e2732359b1de72bb7b6e (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| allow-oom

oomTest(() => {
    let global = newGlobal({sameZoneAs: this});
    Debugger(global).onDebuggerStatement = function (frame) {
        frame.eval("f")
    }
    global.eval("debugger")
}, false);