mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix incorrect test in FindIdentifierBase, bug 694247.
This commit is contained in:
parent
41e18127a7
commit
f90413cb77
@ -5825,7 +5825,7 @@ js_FindIdentifierBase(JSContext *cx, JSObject *scopeChain, jsid id)
|
||||
if (!parent)
|
||||
break;
|
||||
obj = parent;
|
||||
} while (obj->isScope());
|
||||
} while (!obj->isGlobal());
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user