blob: 9270b282ed23e8c047f84f9b1eedf26f54febc02 (
plain)
1
2
3
4
5
6
7
|
// Debugger mode can be disabled for a compartment even if it has scripts running.
var g = newGlobal();
var dbg = Debugger(g);
g.parent = this;
var n = 2;
g.eval("parent.dbg.removeDebuggee(this); parent.n += 2");
assertEq(n, 4);
|