Source code

Revision control

Copy as Markdown

Other Tools

// Debugger objects do not keep debuggee globals live.
var dbg = new Debugger;
for (var i = 0; i < 10; i++)
dbg.addDebuggee(newGlobal({newCompartment: true}));
gc();
assertEq(dbg.getDebuggees().length < 10, true);