Bug 764539 - Stringify the prototype class in Paris bindings to "InterfacePrototype" instead of "Interface Prototype"; r=bz
authorMs2ger <ms2ger@gmail.com>
Thu, 21 Jun 2012 09:20:28 +0200
changeset 97136 0f9188dc8dc343bb8e6aa5fa3dba565524d48cb9
parent 97135 88272202e6c5432470d3a101416f6dd6fe495996
child 97137 909962db6b8a8325f87ef872d3faaefac3c3f1ea
push id22961
push userMs2ger@gmail.com
push dateThu, 21 Jun 2012 07:26:01 +0000
treeherdermozilla-central@6e828a4d1348 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs764539
milestone16.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 764539 - Stringify the prototype class in Paris bindings to "InterfacePrototype" instead of "Interface Prototype"; r=bz
dom/bindings/Codegen.py
dom/imptests/failures/webapps/DOMCore/tests/approved/test_interfaces.html.json
dom/imptests/failures/webapps/XMLHttpRequest/tests/submissions/Ms2ger/test_interfaces.html.json
--- a/dom/bindings/Codegen.py
+++ b/dom/bindings/Codegen.py
@@ -132,17 +132,17 @@ class CGPrototypeJSClass(CGThing):
         CGThing.__init__(self)
         self.descriptor = descriptor
     def declare(self):
         # We're purely for internal consumption
         return ""
     def define(self):
         return """
 static JSClass PrototypeClass = {
-  "%s Prototype", 0,
+  "%sPrototype", 0,
   JS_PropertyStub,       /* addProperty */
   JS_PropertyStub,       /* delProperty */
   JS_PropertyStub,       /* getProperty */
   JS_StrictPropertyStub, /* setProperty */
   JS_EnumerateStub,
   JS_ResolveStub,
   JS_ConvertStub,
   NULL,                  /* finalize */
--- a/dom/imptests/failures/webapps/DOMCore/tests/approved/test_interfaces.html.json
+++ b/dom/imptests/failures/webapps/DOMCore/tests/approved/test_interfaces.html.json
@@ -84,17 +84,16 @@
   "Event interface: calling initEvent(DOMString,boolean,boolean) on new Event(\"foo\") with too few arguments must throw TypeError": true,
   "CustomEvent interface: existence and properties of interface object": true,
   "CustomEvent interface constructor": true,
   "CustomEvent interface: existence and properties of interface prototype object": true,
   "CustomEvent interface: existence and properties of interface prototype object's \"constructor\" property": true,
   "Stringification of new CustomEvent(\"foo\")": "debug",
   "Event interface: new CustomEvent(\"foo\") must inherit property \"timeStamp\" with the proper type (14)": true,
   "Event interface: calling initEvent(DOMString,boolean,boolean) on new CustomEvent(\"foo\") with too few arguments must throw TypeError": true,
-  "EventTarget interface: existence and properties of interface prototype object": true,
   "EventTarget interface: operation addEventListener(DOMString,EventListener,boolean)": true,
   "EventListener interface: existence and properties of interface object": true,
   "EventListener interface: existence and properties of interface prototype object": true,
   "EventListener interface: existence and properties of interface prototype object's \"constructor\" property": true,
   "EventListener interface: operation handleEvent(Event)": true,
   "MutationObserver interface: existence and properties of interface object": true,
   "MutationObserver interface constructor": true,
   "MutationObserver interface: existence and properties of interface prototype object": true,
--- a/dom/imptests/failures/webapps/XMLHttpRequest/tests/submissions/Ms2ger/test_interfaces.html.json
+++ b/dom/imptests/failures/webapps/XMLHttpRequest/tests/submissions/Ms2ger/test_interfaces.html.json
@@ -1,12 +1,10 @@
 {
-  "XMLHttpRequestUpload interface: existence and properties of interface prototype object": true,
   "XMLHttpRequest interface constructor": true,
-  "XMLHttpRequest interface: existence and properties of interface prototype object": true,
   "XMLHttpRequest interface: calling open(DOMString,DOMString,boolean,DOMString,DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError": true,
   "XMLHttpRequest interface: calling setRequestHeader(DOMString,DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError": true,
   "XMLHttpRequest interface: calling getResponseHeader(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError": true,
   "XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError": true,
   "FormData interface: existence and properties of interface object": true,
   "FormData interface constructor": true,
   "FormData interface: existence and properties of interface prototype object": true,
   "FormData interface: existence and properties of interface prototype object's \"constructor\" property": true,