mrbkap's fix for 420612, r=me, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@246900 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2a8df200e8
commit
792ef21496
@ -3375,7 +3375,7 @@ js_LookupPropertyWithFlags(JSContext *cx, JSObject *obj, jsid id, uintN flags,
|
||||
if (!OBJ_IS_NATIVE(proto)) {
|
||||
if (!OBJ_LOOKUP_PROPERTY(cx, proto, id, objp, propp))
|
||||
return -1;
|
||||
return protoIndex;
|
||||
return protoIndex + 1;
|
||||
}
|
||||
obj = proto;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user