mrbkap's fix for 420612, r=me, a=beltzner.

This commit is contained in:
brendan@mozilla.org 2008-03-02 23:02:53 -08:00
parent 5cb07e5bb2
commit 527b53da80

View File

@ -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;
}