mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Merge.
This commit is contained in:
commit
0f9af001af
@ -386,7 +386,10 @@ NameOp(VMFrame &f, JSObject *obj, bool callname = false)
|
||||
return NULL;
|
||||
} else {
|
||||
sprop = (JSScopeProperty *)prop;
|
||||
NATIVE_GET(cx, obj, obj2, sprop, JSGET_METHOD_BARRIER, &rval, return NULL);
|
||||
JSObject *normalized = obj;
|
||||
if (obj->getClass() == &js_WithClass && !sprop->hasDefaultGetter())
|
||||
normalized = js_UnwrapWithObject(cx, obj);
|
||||
NATIVE_GET(cx, normalized, obj2, sprop, JSGET_METHOD_BARRIER, &rval, return NULL);
|
||||
obj2->dropProperty(cx, (JSProperty *) sprop);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user