blob: 816e63d923da4bcc70e80df8821662a4ea08f6d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |jit-test|
var g = newGlobal({ newCompartment: true });
var dbg = new Debugger;
var gw = dbg.addDebuggee(g);
dbg.onDebuggerStatement = function (frame) {
var e = frame.eval("this.y = 13");
return undefined;
};
g.eval("class A { static x = 10; static { debugger; } }; a = A;");
assertEq(g.a.x, 10);
assertEq(g.a.y, 13);
|