mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1210653: Make bug-1188290.js dependent on the existence of TypedObject; r=terrence
This commit is contained in:
parent
d5de0bdae9
commit
fc304e3b0d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user