diff options
Diffstat (limited to 'js/src/jit-test/tests/gc/bug-1834711.js')
-rw-r--r-- | js/src/jit-test/tests/gc/bug-1834711.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/bug-1834711.js b/js/src/jit-test/tests/gc/bug-1834711.js new file mode 100644 index 0000000000..3708593b34 --- /dev/null +++ b/js/src/jit-test/tests/gc/bug-1834711.js @@ -0,0 +1,9 @@ +const global1 = newGlobal({"newCompartment": false}); +const global2 = newGlobal({"newCompartment": true}); + +global1.nukeAllCCWs(); + +const {object, transplant} = this.transplantableObject(global1); + +global2.firstGlobalInCompartment(object); +transplant(global1); |