Bug 868929 - Convert ImageDocument to WebIDL, drop hasXPConnectImpls from documents. r=bz.
authorPeter Van der Beken <peterv@propagandism.org>
Tue, 07 May 2013 17:27:53 +0200
changeset 142074 9a86629a8fa2659178c3a2a150a15ce4088a8adf
parent 142073 b87e943e0ab393daa1a7b5ecaa6ad81757f67bf5
child 142075 63b5d65eaedb126ccb3af849fededfce2e7d282f
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs868929
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 868929 - Convert ImageDocument to WebIDL, drop hasXPConnectImpls from documents. r=bz.
content/html/document/src/ImageDocument.h
dom/bindings/Bindings.conf
js/xpconnect/src/dom_quickstubs.qsconf
--- a/dom/bindings/Bindings.conf
+++ b/dom/bindings/Bindings.conf
@@ -238,17 +238,16 @@ DOMInterfaces = {
 
 'DeviceMotionEvent': {
     'nativeType': 'nsDOMDeviceMotionEvent',
 },
 
 'Document': [
 {
     'nativeType': 'nsIDocument',
-    'hasXPConnectImpls': True,
     'resultNotAddRefed': [ 'implementation', 'doctype', 'documentElement',
                            'getElementById', 'adoptNode', 'defaultView',
                            'activeElement', 'currentScript',
                            'mozFullScreenElement', 'mozPointerLockElement',
                            'styleSheets', 'styleSheetSets', 'elementFromPoint',
                            'querySelector', 'getAnonymousNodes',
                            'getAnonymousElementByAtribute', 'getBindingParent'
                            ]
@@ -410,17 +409,16 @@ DOMInterfaces = {
 },
 
 'HTMLDListElement': {
     'nativeType' : 'mozilla::dom::HTMLSharedListElement'
 },
 
 'HTMLDocument': {
     'nativeType': 'nsHTMLDocument',
-    'hasXPConnectImpls': True,
     'resultNotAddRefed': [ 'body', 'head', 'images', 'embeds', 'plugins',
                            'links', 'forms', 'scripts', 'anchors', 'applets' ],
     'implicitJSContext': [ 'open', 'write', 'writeln' ]
 },
 
 'HTMLElement': {
     'nativeType': 'nsGenericHTMLElement',
     'hasXPConnectImpls': True,
--- a/js/xpconnect/src/dom_quickstubs.qsconf
+++ b/js/xpconnect/src/dom_quickstubs.qsconf
@@ -145,19 +145,17 @@ irregularFilenames = {
     'nsIDOMWindowPerformance': 'nsIDOMWindow',
     }
 
 customIncludes = [
     'nsDOMQS.h',
     'mozilla/dom/NodeBinding.h',
     'mozilla/dom/ElementBinding.h',
     'mozilla/dom/HTMLElementBinding.h',
-    'mozilla/dom/DocumentBinding.h',
     'nsPerformance.h',
-    'mozilla/dom/HTMLDocumentBinding.h',
     'mozilla/dom/EventTargetBinding.h',
     'mozilla/dom/EventBinding.h',
     'mozilla/dom/MouseEventBinding.h',
     'mozilla/dom/UIEventBinding.h',
     ]
 
 nsIDOMStorage_Clear_customMethodCallCode = """
     rv = self->Clear();
@@ -193,15 +191,13 @@ customMethodCalls = {
     }
 
 newBindingProperties = {
     # Once the last entry here goes away, we can make the sNativePropertyHooks
     # of bindings static.
     'nsIDOMNode': 'mozilla::dom::NodeBinding::sNativePropertyHooks.mNativeProperties.regular',
     'nsIDOMElement': 'mozilla::dom::ElementBinding::sNativePropertyHooks.mNativeProperties.regular',
     'nsIDOMHTMLElement': 'mozilla::dom::HTMLElementBinding::sNativePropertyHooks.mNativeProperties.regular',
-    'nsIDOMDocument': 'mozilla::dom::DocumentBinding::sNativePropertyHooks.mNativeProperties.regular',
-    'nsIDOMHTMLDocument': 'mozilla::dom::HTMLDocumentBinding::sNativePropertyHooks.mNativeProperties.regular',
     'nsIDOMEventTarget': 'mozilla::dom::EventTargetBinding::sNativePropertyHooks.mNativeProperties.regular',
     'nsIDOMEvent': 'mozilla::dom::EventBinding::sNativePropertyHooks.mNativeProperties.regular',
     'nsIDOMMouseEvent': 'mozilla::dom::MouseEventBinding::sNativePropertyHooks.mNativeProperties.regular',
     'nsIDOMUIEvent': 'mozilla::dom::UIEventBinding::sNativePropertyHooks.mNativeProperties.regular',
     }