Merge TM -> JM
This commit is contained in:
@@ -820,8 +820,7 @@ array_getProperty(JSContext *cx, JSObject *obj, JSObject *receiver, jsid id, Val
|
||||
}
|
||||
|
||||
vp->setUndefined();
|
||||
if (js_LookupPropertyWithFlags(cx, proto, id, cx->resolveFlags,
|
||||
&obj2, &prop) < 0)
|
||||
if (!LookupPropertyWithFlags(cx, proto, id, cx->resolveFlags, &obj2, &prop))
|
||||
return JS_FALSE;
|
||||
|
||||
if (prop && obj2->isNative()) {
|
||||
|
||||
Reference in New Issue
Block a user