blob: 14ed9337f31c871deaee5ff17501f2564c2d10c1 (
plain)
1
2
3
4
5
6
7
8
|
// addDebuggee returns different Debugger.Object wrappers for different Debugger objects.
var g = newGlobal({newCompartment: true});
var dbg1 = new Debugger;
var gw1 = dbg1.addDebuggee(g);
var dbg2 = new Debugger;
var gw2 = dbg2.addDebuggee(g);
assertEq(gw1 !== gw2, true);
|