mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 852421 - Remove MarkTypeObjectUnknownProperties call from Object.create. r=bhackett
--HG-- extra : rebase_source : efbc9855ea3b548838b7c2b74feac3db987814e5
This commit is contained in:
parent
d233830af8
commit
0f3720ceef
@ -706,9 +706,6 @@ obj_create(JSContext *cx, unsigned argc, Value *vp)
|
||||
if (!obj)
|
||||
return false;
|
||||
|
||||
/* Don't track types or array-ness for objects created here. */
|
||||
MarkTypeObjectUnknownProperties(cx, obj->type());
|
||||
|
||||
/* 15.2.3.5 step 4. */
|
||||
if (args.hasDefined(1)) {
|
||||
if (args[1].isPrimitive()) {
|
||||
|
Loading…
Reference in New Issue
Block a user