Re-land patch for bug 458851 now that latent bug it uncovered (not filed; see hg log) is fixed.
This commit is contained in:
@@ -3414,7 +3414,7 @@ js_LookupPropertyWithFlags(JSContext *cx, JSObject *obj, jsid id, uintN flags,
|
||||
format = cs->format;
|
||||
if (JOF_MODE(format) != JOF_NAME)
|
||||
flags |= JSRESOLVE_QUALIFIED;
|
||||
if ((format & JOF_ASSIGNING) ||
|
||||
if ((format & (JOF_SET | JOF_FOR)) ||
|
||||
(cx->fp->flags & JSFRAME_ASSIGNING)) {
|
||||
flags |= JSRESOLVE_ASSIGNING;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user