bug1538542-2.js (308B)
1 var lfOffThreadGlobal = newGlobal(); 2 nukeAllCCWs(); 3 const thisGlobal = this; 4 const otherGlobalNewCompartment = newGlobal({ 5 newCompartment: false 6 }); 7 let { transplant } = transplantableObject(); 8 9 // Just don't crash. 10 try { 11 transplant(otherGlobalNewCompartment); 12 transplant(thisGlobal); 13 } catch {}