mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 852421 - Remove MarkTypeObjectUnknownProperties call from Object.create. r=bhackett
--HG-- extra : rebase_source : efbc9855ea3b548838b7c2b74feac3db987814e5
This commit is contained in:
parent
870220a95f
commit
2eccb5dbc0
@ -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