Bug 747617 - Fix document.all (r=bz,a=akeybl)
authorLuke Wagner <luke@mozilla.com>
Wed, 09 May 2012 20:44:53 -0700
changeset 94197 7ffd2eac063d4c600a85b8c337e48c64af16e345
parent 94196 b13f3c66540dbc38be62a5defd18b108599f7410
child 94198 0bd74da75dc9452fdbf03628e7ab1ca8855603c6
push idunknown
push userunknown
push dateunknown
reviewersbz, akeybl
bugs747617
milestone14.0a2
Bug 747617 - Fix document.all (r=bz,a=akeybl)
dom/base/nsDOMClassInfo.cpp
--- a/dom/base/nsDOMClassInfo.cpp
+++ b/dom/base/nsDOMClassInfo.cpp
@@ -8669,17 +8669,17 @@ ResolveImpl(JSContext *cx, nsIXPConnectW
 
 static JSClass sHTMLDocumentAllClass = {
   "HTML document.all class",
   JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS | JSCLASS_NEW_RESOLVE |
   JSCLASS_HAS_RESERVED_SLOTS(1),
   JS_PropertyStub, JS_PropertyStub, nsHTMLDocumentSH::DocumentAllGetProperty,
   JS_StrictPropertyStub, JS_EnumerateStub,
   (JSResolveOp)nsHTMLDocumentSH::DocumentAllNewResolve, JS_ConvertStub,
-  nsHTMLDocumentSH::ReleaseDocument, nsnull, nsnull,
+  nsHTMLDocumentSH::ReleaseDocument, nsnull,
   nsHTMLDocumentSH::CallToGetPropMapper
 };
 
 
 static JSClass sHTMLDocumentAllHelperClass = {
   "HTML document.all helper class", JSCLASS_HAS_PRIVATE | JSCLASS_NEW_RESOLVE,
   JS_PropertyStub, JS_PropertyStub,
   nsHTMLDocumentSH::DocumentAllHelperGetProperty,
@@ -8689,17 +8689,17 @@ static JSClass sHTMLDocumentAllHelperCla
 };
 
 
 static JSClass sHTMLDocumentAllTagsClass = {
   "HTML document.all.tags class",
   JSCLASS_HAS_PRIVATE | JSCLASS_NEW_RESOLVE | JSCLASS_PRIVATE_IS_NSISUPPORTS,
   JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_StrictPropertyStub,
   JS_EnumerateStub, (JSResolveOp)nsHTMLDocumentSH::DocumentAllTagsNewResolve,
-  JS_ConvertStub, nsHTMLDocumentSH::ReleaseDocument, nsnull, nsnull,
+  JS_ConvertStub, nsHTMLDocumentSH::ReleaseDocument, nsnull,
   nsHTMLDocumentSH::CallToGetPropMapper
 };
 
 // static
 JSBool
 nsHTMLDocumentSH::GetDocumentAllNodeList(JSContext *cx, JSObject *obj,
                                          nsDocument *domdoc,
                                          nsContentList **nodeList)