more-compartments-flag.js (226B)
1 // |jit-test| --more-compartments 2 3 // With --more-compartments we should default to creating a new compartment for 4 // new globals. 5 6 var g = newGlobal(); 7 assertEq(isSameCompartment(this, g), false); 8 assertEq(isProxy(g), true);