Bug 1210653: Make bug-1188290.js dependent on the existence of TypedObject; r=terrence

This commit is contained in:
Benjamin Bouvier 2015-10-05 16:03:50 +02:00
parent d5de0bdae9
commit fc304e3b0d

View File

@ -3,6 +3,9 @@ load(libdir + "immutable-prototype.js");
if (globalPrototypeChainIsMutable())
this.__proto__ = [];
if (!this.hasOwnProperty("TypedObject") || typeof minorgc !== 'function')
quit();
var T = TypedObject;
var ObjectStruct = new T.StructType({f: T.Object});
var o = new ObjectStruct();