Bug 829813 - Cleanup API for marking/testing implicit properties, r=billm.

This commit is contained in:
Brian Hackett
2013-01-14 16:15:30 -07:00
parent e67e23f0da
commit 2c48b20fd4
8 changed files with 40 additions and 32 deletions

View File

@@ -1103,7 +1103,7 @@ SuppressDeletedPropertyHelper(JSContext *cx, HandleObject obj, StringPredicate p
if (prop) {
unsigned attrs;
if (obj2->isNative())
attrs = IsImplicitProperty(prop) ? JSPROP_ENUMERATE : prop->attributes();
attrs = GetShapeAttributes(prop);
else if (!JSObject::getGenericAttributes(cx, obj2, id, &attrs))
return false;