Debian Codegraph @

js/src/jit-test/tests/gc/bug-1928660.js

raw
1 gczeal(17, 250);
2 var c = {};
3 function a() {
4 const d = newGlobal({ newCompartment: true });
5 d.grayRoot();
6 with (d) {
7 const f = new FinalizationRegistry(v => { });
8 f.register(c);
9 }
10 }
11 a();
12 a();
13 nukeAllCCWs();