blob: 2c17b9b06079940f624008f65bbf8420a6e9f4b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// |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();
|