summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1757573.js
blob: 9a83cd07552064425edecefe075a6975eb677f63 (plain)
1
2
3
4
5
6
7
new FinalizationRegistry(a => {});
b = newGlobal({newCompartment: true});
b.eval(`
  c = {};
  d = new WeakRef(c);
`);
nukeCCW(b.d);