summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1104162.js
blob: 33af69cda02c1c0e9c22cfeecd7c2163a267d182 (plain)
1
2
3
4
5
6
7
gczeal(11);
g = newGlobal({newCompartment: true})
g.eval("undefined;function f(){}")
Debugger(g).onDebuggerStatement = function(x) {
    x.eval("f").return.script.setBreakpoint(0, {})
}
g.eval("debugger")