Backed out changeset 235d4c57787f (bug 620935) for m13 perma-orange on a CLOSED TREE
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 24 Jan 2014 15:14:43 +0100
changeset 181086 41559c2000f4166a0b4fe9d8ace7d71e44f6d95b
parent 181085 ec91efbcc80e4b15e5a6e2b221bf68764062789b
child 181087 06018b9ceed581a0cc8641f5e3434cada58dd119
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs620935
milestone29.0a1
backs out235d4c57787f311259119591bf245fbafdca3823
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
Backed out changeset 235d4c57787f (bug 620935) for m13 perma-orange on a CLOSED TREE
dom/bindings/parser/WebIDL.py
--- a/dom/bindings/parser/WebIDL.py
+++ b/dom/bindings/parser/WebIDL.py
@@ -310,17 +310,17 @@ class IDLIdentifier(IDLObject):
 
 class IDLUnresolvedIdentifier(IDLObject):
     def __init__(self, location, name, allowDoubleUnderscore = False,
                  allowForbidden = False):
         IDLObject.__init__(self, location)
 
         assert len(name) > 0
 
-        if name[:2] == "__" and name != "__content" and name != "___noSuchMethod__"  and not allowDoubleUnderscore:
+        if name[:2] == "__" and name != "__content" and not allowDoubleUnderscore:
             raise WebIDLError("Identifiers beginning with __ are reserved",
                               [location])
         if name[0] == '_' and not allowDoubleUnderscore:
             name = name[1:]
         # TODO: Bug 872377, Restore "toJSON" to below list.
         # We sometimes need custom serialization, so allow toJSON for now.
         if (name in ["constructor", "toString"] and
             not allowForbidden):
@@ -3150,17 +3150,17 @@ class IDLMethod(IDLInterfaceMember, IDLS
 
     def isJsonifier(self):
         return self._jsonifier
 
     def hasOverloads(self):
         return self._hasOverloads
 
     def isIdentifierLess(self):
-        return self.identifier.name[:2] == "__" and self.identifier.name != "__noSuchMethod__"
+        return self.identifier.name[:2] == "__"
 
     def resolve(self, parentScope):
         assert isinstance(parentScope, IDLScope)
         IDLObjectWithIdentifier.resolve(self, parentScope)
         IDLScope.__init__(self, self.location, parentScope, self.identifier)
         for (returnType, arguments) in self.signatures():
             for argument in arguments:
                 argument.resolve(self)