blob: 05120919640f9484022b130c762e12c45457ecc9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// findObjects' result doesn't include any duplicates.
var g = newGlobal();
var dbg = new Debugger();
dbg.addDebuggee(g);
let objects = dbg.findObjects();
let set = new Set(objects);
assertEq(objects.length, set.size);
|