Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett
This commit is contained in:
@@ -861,7 +861,7 @@ SuppressDeletedPropertyHelper(JSContext *cx, JSObject *obj, IdPredicate predicat
|
||||
AutoObjectRooter proto(cx, obj->getProto());
|
||||
AutoObjectRooter obj2(cx);
|
||||
JSProperty *prop;
|
||||
if (!proto.object()->lookupProperty(cx, *idp, obj2.addr(), &prop))
|
||||
if (!proto.object()->lookupGeneric(cx, *idp, obj2.addr(), &prop))
|
||||
return false;
|
||||
if (prop) {
|
||||
uintN attrs;
|
||||
|
||||
Reference in New Issue
Block a user