Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong! The witch is dead!
This commit is contained in:
@@ -30,10 +30,6 @@
|
||||
#include "jsproxy.h"
|
||||
#include "jsscript.h"
|
||||
|
||||
#if JS_HAS_XML_SUPPORT
|
||||
#include "jsxml.h"
|
||||
#endif
|
||||
|
||||
#include "builtin/ParallelArray.h"
|
||||
#include "ds/Sort.h"
|
||||
#include "frontend/TokenStream.h"
|
||||
@@ -151,11 +147,8 @@ EnumerateNativeProperties(JSContext *cx, HandleObject pobj, unsigned flags, IdSe
|
||||
for (; !r.empty(); r.popFront()) {
|
||||
Shape &shape = r.front();
|
||||
|
||||
if (!JSID_IS_DEFAULT_XML_NAMESPACE(shape.propid()) &&
|
||||
!Enumerate(cx, pobj, shape.propid(), shape.enumerable(), flags, ht, props))
|
||||
{
|
||||
if (!Enumerate(cx, pobj, shape.propid(), shape.enumerable(), flags, ht, props))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
::Reverse(props->begin() + initialLength, props->end());
|
||||
@@ -264,10 +257,6 @@ Snapshot(JSContext *cx, RawObject pobj_, unsigned flags, AutoIdVector *props)
|
||||
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