mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
PropertyCache::fullTest should work on arbitrary scope chains, bug 700792.
This commit is contained in:
parent
831cd84d89
commit
ca7d6003de
@ -224,7 +224,7 @@ PropertyCache::fullTest(JSContext *cx, jsbytecode *pc, JSObject **objp, JSObject
|
||||
|
||||
if (JOF_MODE(cs.format) == JOF_NAME) {
|
||||
while (vindex & (PCINDEX_SCOPEMASK << PCINDEX_PROTOBITS)) {
|
||||
tmp = pobj->internalScopeChain();
|
||||
tmp = pobj->scopeChain();
|
||||
if (!tmp || !tmp->isNative())
|
||||
break;
|
||||
pobj = tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user