Back out bug 829867 (rev 2a0424e177c1) on suspicion of Ts regression
authorBoris Zbarsky <bzbarsky@mit.edu>
Tue, 29 Jan 2013 17:17:37 -0500
changeset 130167 08326e6cba1fdbab2b822c0f669661db69a7d97f
parent 130166 b8dcf873cfa15cb2e18e16c450256bea59f1c3e4
child 130168 b0ee4b6eb11490f5c97b07633523d8b270f45288
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs829867
milestone21.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
Back out bug 829867 (rev 2a0424e177c1) on suspicion of Ts regression
dom/bindings/Bindings.conf
js/xpconnect/src/dom_quickstubs.qsconf
js/xpconnect/src/nsCSSPropertiesQS.h
--- a/dom/bindings/Bindings.conf
+++ b/dom/bindings/Bindings.conf
@@ -557,16 +557,17 @@ DOMInterfaces = {
 
 'NodeList': {
     'nativeType': 'nsINodeList',
     'resultNotAddRefed': [ 'item' ]
 },
 
 'PaintRequest': {
     'nativeType': 'nsPaintRequest',
+    'prefable': True
 },
 
 'PaintRequestList': {
     'nativeType': 'nsPaintRequestList',
     'headerFile': 'nsPaintRequest.h',
     'resultNotAddRefed': [ 'item' ]
 },
 
@@ -607,16 +608,17 @@ DOMInterfaces = {
 
 'RGBColor': {
     "nativeType": "nsDOMCSSRGBColor",
     'resultNotAddRefed': [ "alpha", "blue", "green", "red" ]
 },
 
 'Screen': {
     'nativeType': 'nsScreen',
+    'prefable': True,
 },
 
 'SVGAElement': {
   'hasInstanceInterface': 'nsIDOMSVGAElement',
 },
 
 'SVGAnimatedLengthList': {
     'nativeType': 'mozilla::DOMSVGAnimatedLengthList',
--- a/js/xpconnect/src/dom_quickstubs.qsconf
+++ b/js/xpconnect/src/dom_quickstubs.qsconf
@@ -41,34 +41,45 @@ members = [
     'nsIDOMWindow.scrollByLines',
     'nsIDOMWindow.getComputedStyle',
     'nsIDOMWindow.sessionStorage',
     'nsIDOMWindow.localStorage',
     'nsIDOMWindow.onmouseenter',
     'nsIDOMWindow.onmouseleave',
     'nsIDOMWindowPerformance.performance',
     'nsIDOMJSWindow.dump',
+    'nsIDOMScreen.top',
+    'nsIDOMScreen.height',
+    'nsIDOMScreen.width',
+    'nsIDOMScreen.left',
     'nsIDOMClientRect.*',
+    'nsIDOMPaintRequest.*',
     # nsLocationSH has ~ALLOW_PROP_MODS_TO_PROTOTYPE, so don't try.
     #'nsIDOMLocation.hostname',
     #'nsIDOMLocation.href',
 
     # dom/interfaces/canvas
     #
     # canvas friends
     'nsIDOMTextMetrics.*',
     'nsIDOMCanvasGradient.*',
     'nsIDOMCanvasPattern.*',
 
     # dom/interfaces/core
+    'nsIDOMCharacterData.data',
+    'nsIDOMCharacterData.length',
     'nsIDOMNamedNodeMap.item',
     'nsIDOMNamedNodeMap.length',
+    'nsIDOMText.splitText',
     'nsIDOMDOMStringList.*',
     'nsIDOMXULDocument.getBoxObjectFor',
 
+    # dom/interfaces/css
+    'nsIDOMRect.*',
+
     'nsIDOMEvent.type',
     'nsIDOMEvent.target',
     'nsIDOMEvent.currentTarget',
     'nsIDOMEvent.eventPhase',
     'nsIDOMEvent.bubbles',
     'nsIDOMEvent.cancelable',
     'nsIDOMEvent.timeStamp',
     'nsIDOMEvent.stopPropagation',
@@ -291,18 +302,30 @@ irregularFilenames = {
     'nsIDOMTouchList': 'nsIDOMTouchEvent',
 
     'nsITelephoneCallback': 'nsITelephone',
 
     'nsIDOMWindowPerformance': 'nsIDOMWindow',
     }
 
 customIncludes = [
+    'nsINode.h',
+    'nsIContent.h',
+    'nsIDocument.h',
+    'nsCSSPropertiesQS.h',
+    'nsDOMTokenList.h',
+    'nsGenericDOMDataNode.h',
+    'mozilla/dom/Element.h',
+    'nsGenericHTMLElement.h',
+    'nsSVGElement.h',
     'nsDOMQS.h',
+    'nsDOMStringMap.h',
+    'HTMLPropertiesCollection.h',
     'nsHTMLMenuElement.h',
+    'nsICSSDeclaration.h',
     'mozilla/dom/NodeBinding.h',
     'mozilla/dom/ElementBinding.h',
     'mozilla/dom/HTMLElementBinding.h',
     'mozilla/dom/DocumentBinding.h',
     'mozilla/dom/SVGElementBinding.h',
     'nsPerformance.h',
     'mozilla/dom/HTMLDocumentBinding.h',
     'mozilla/dom/EventTargetBinding.h',
new file mode 100644
--- /dev/null
+++ b/js/xpconnect/src/nsCSSPropertiesQS.h
@@ -0,0 +1,30 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef nsCSSPropertiesQS_h__
+#define nsCSSPropertiesQS_h__
+
+#include "nsICSSDeclaration.h"
+
+#define CSS_PROP_DOMPROP_PREFIXED(prop_) Moz ## prop_
+#define CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, \
+                 stylestruct_, stylestructoffset_, animtype_)                 \
+static const nsCSSProperty QS_CSS_PROP_##method_ = eCSSProperty_##id_;
+
+#define CSS_PROP_LIST_EXCLUDE_INTERNAL
+#define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, pref_)	\
+  CSS_PROP(name_, id_, method_, flags_, pref_, X, X, X, X, X)
+#include "nsCSSPropList.h"
+
+#define CSS_PROP_ALIAS(aliasname_, propid_, aliasmethod_, pref_)  \
+  CSS_PROP(X, propid_, aliasmethod_, X, pref_, X, X, X, X, X)
+#include "nsCSSPropAliasList.h"
+#undef CSS_PROP_ALIAS
+
+#undef CSS_PROP_SHORTHAND
+#undef CSS_PROP_LIST_EXCLUDE_INTERNAL
+#undef CSS_PROP
+#undef CSS_PROP_DOMPROP_PREFIXED
+
+#endif /* nsCSSPropertiesQS_h__ */