nit fix for bug 558754 and remove bogus spot-fix that didn't have review (r=brendan)
This commit is contained in:
@@ -170,6 +170,7 @@ Enumerate(JSContext *cx, JSObject *obj, jsid id, bool enumerable, uintN flags,
|
||||
}
|
||||
if (flags & JSITER_FOREACH) {
|
||||
jsval *vp = vec.end() - 1;
|
||||
|
||||
if (!obj->getProperty(cx, id, vp))
|
||||
return false;
|
||||
if (flags & JSITER_KEYVALUE && !NewKeyValuePair(cx, id, *vp, vp))
|
||||
|
||||
Reference in New Issue
Block a user