Bug 374160: Uniform applications of GetXMLObject. r=brendan

This commit is contained in:
igor@mir2.org 2007-03-29 13:39:46 -07:00
parent fc72df22f6
commit 90683afcb3

View File

@ -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;