summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1852729.js
blob: 460fe6b774d3cf077a93878bcf1edf392a99c468 (plain)
1
2
3
4
5
const g = newGlobal({newCompartment: true});
const domObj = this.transplantableObject().object;
const bar = new g.WeakRef(domObj);
bar.deref();
this.nukeAllCCWs();