Debian Codegraph @

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

raw
1 const global1 = newGlobal({"newCompartment": false});
2 const global2 = newGlobal({"newCompartment": true});
3
4 global1.nukeAllCCWs();
5
6 const {object, transplant} = this.transplantableObject(global1);
7
8 global2.firstGlobalInCompartment(object);
9 transplant(global1);