Bug 1387149 - Remove outdated comment from Codegen.py. r=bz
authorEden Chuang <echuang@mozilla.com>
Wed, 09 Aug 2017 17:31:10 +0800
changeset 429565 227388c78b76409266f0be66bcaeaa4f84229aee
parent 429564 3b924184c333c508df0890c811e115a195e71e7a
child 429566 f13d106fc6789dc775808929d263272aaf75975b
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1387149, 916644
milestone57.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 1387149 - Remove outdated comment from Codegen.py. r=bz Remove following outdated comment from Codegen.py # We don't enforce this for chrome in realease builds to avoid the addon # compat fallout of making that change. See bug 916644.
dom/bindings/Codegen.py
--- a/dom/bindings/Codegen.py
+++ b/dom/bindings/Codegen.py
@@ -1777,19 +1777,17 @@ class CGClassConstructor(CGAbstractStati
             chromeOnlyCheck = dedent("""
                 if (!nsContentUtils::ThreadsafeIsSystemCaller(cx)) {
                   return ThrowingConstructor(cx, argc, vp);
                 }
 
                 """)
 
         # Additionally, we want to throw if a caller does a bareword invocation
-        # of a constructor without |new|. We don't enforce this for chrome in
-        # realease builds to avoid the addon compat fallout of making that
-        # change. See bug 916644.
+        # of a constructor without |new|.
         #
         # Figure out the name of our constructor for error reporting purposes.
         # For unnamed webidl constructors, identifier.name is "constructor" but
         # the name JS sees is the interface name; for named constructors
         # identifier.name is the actual name.
         name = self._ctor.identifier.name
         if name != "constructor":
             ctorName = name