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

if (!('oomTest' in this))
    quit();

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