Bug 691992 - Split getAttributes and setAttributes into property and generic forms, and use them throughout the engine. r=bhackett
This commit is contained in:
@@ -871,7 +871,7 @@ SuppressDeletedPropertyHelper(JSContext *cx, JSObject *obj, IdPredicate predicat
|
||||
uintN attrs;
|
||||
if (obj2.object()->isNative())
|
||||
attrs = ((Shape *) prop)->attributes();
|
||||
else if (!obj2.object()->getAttributes(cx, *idp, &attrs))
|
||||
else if (!obj2.object()->getGenericAttributes(cx, *idp, &attrs))
|
||||
return false;
|
||||
|
||||
if (attrs & JSPROP_ENUMERATE)
|
||||
|
||||
Reference in New Issue
Block a user