blob: a7f8efb41a8a0456146d6e37105172ad66b0f5ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Debugger.Object.prototype.executeInGlobal basics
var g = newGlobal();
var h = newGlobal();
var dbg = new Debugger;
var gw = dbg.addDebuggee(g);
var hw = dbg.addDebuggee(h);
g.y = "Bitte Orca";
h.y = "Visiter";
var y = "W H O K I L L";
assertEq(gw.executeInGlobal('y').return, "Bitte Orca");
assertEq(hw.executeInGlobal('y').return, "Visiter");
|