blob: d391415cc28d9652ece14aa8ef30589dbda80cbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// findObjects' result includes objects referenced by other objects.
var g = newGlobal();
var dbg = new Debugger();
var gw = dbg.addDebuggee(g);
g.eval('this.a = { b: {} };');
var bw = gw.makeDebuggeeValue(g.a.b);
var objects = dbg.findObjects();
assertEq(objects.indexOf(bw) != -1, true);
|