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

var g = newGlobal();
var dbg = Debugger(g);
gc(g);
gc(this);