mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 374160: Uniform applications of GetXMLObject. r=brendan
This commit is contained in:
parent
fc72df22f6
commit
90683afcb3
@ -4367,7 +4367,9 @@ PutProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
|
||||
|
||||
if (parent) {
|
||||
/* 2(e)(i). */
|
||||
parentobj = parent->object;
|
||||
parentobj = js_GetXMLObject(cx, parent);
|
||||
if (!parentobj)
|
||||
goto bad;
|
||||
ok = PutProperty(cx, parentobj, id, vp);
|
||||
if (!ok)
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user