Bug 752092 - Support building SpiderMonkey without JS_HAS_XML_SUPPORT. r=terrence.
This commit is contained in:
@@ -379,8 +379,13 @@ Snapshot(JSContext *cx, JSObject *obj, unsigned flags, AutoIdVector *props)
|
||||
}
|
||||
}
|
||||
|
||||
if ((flags & JSITER_OWNONLY) || pobj->isXML())
|
||||
if (flags & JSITER_OWNONLY)
|
||||
break;
|
||||
|
||||
#if JS_HAS_XML_SUPPORT
|
||||
if (pobj->isXML())
|
||||
break;
|
||||
#endif
|
||||
} while ((pobj = pobj->getProto()) != NULL);
|
||||
|
||||
#ifdef JS_MORE_DETERMINISTIC
|
||||
|
||||
Reference in New Issue
Block a user