mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 635805 - Fix thinko in fix for bug 634542 (r=dvander,a=blocking-a-blocker)
This commit is contained in:
parent
a47d50013b
commit
b40fed9201
@ -624,7 +624,9 @@ RunScript(JSContext *cx, JSScript *script, JSStackFrame *fp)
|
||||
int32 flags = fp->scopeChain().getGlobal()->getReservedSlot(JSRESERVED_GLOBAL_FLAGS).toInt32();
|
||||
if (flags & JSGLOBAL_FLAGS_CLEARED) {
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL, JSMSG_CLEARED_SCOPE);
|
||||
PutActivationObjects(cx, fp);
|
||||
// FIXME Remove hack with bug 635811
|
||||
if (fp->isFunctionFrame() && (!fp->isEvalFrame() || fp->script()->strictModeCode))
|
||||
PutActivationObjects(cx, fp);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user