Source code
Revision control
Copy as Markdown
Other Tools
// |jit-test| error:123
var g = newGlobal({newCompartment: true});
g.eval('function f() { var y; debugger; }');
var dbg = new Debugger(g);
dbg.onDebuggerStatement = function handleDebugger(frame) {
frame.onPop = function(c) {
this.eval('y = 33');
return {throw: 123};
}
};
g.f();