blob: 46000d82e1181742c4fb75b2ad739f6b47c293a5 (
plain)
1
2
3
4
5
6
7
8
9
|
// Don't assert with dead Debugger.Object and live cross-compartment wrapper of referent.
var g = newGlobal({newCompartment: true});
for (var j = 0; j < 4; j++) {
var dbg = new Debugger;
dbg.addDebuggee(g);
dbg.enabled = false;
dbg = null;
gc(); gc();
}
|