summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/gc-compartment-01.js
blob: b5d7bc09ab7eb41d318fd47738dad7d9cc7dc7b3 (plain)
1
2
3
4
5
6
// A debugger can survive per-compartment GC.

var g = newGlobal({newCompartment: true});
var dbg = Debugger(g);
gc(g);
gc(this);