Source code

Revision control

Copy as Markdown

Other Tools

// 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();
}