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