Bug 1247203 - Remove useless call to main(). r=jryans
authorAlexandre Poirot <poirot.alex@gmail.com>
Fri, 04 Mar 2016 07:51:11 -0800
changeset 325151 80ad10b22bcc3412a05d2c4ef88722fea7b9ea3b
parent 325150 a668838de9dcb7c3ca77144e903c988443329bf9
child 325152 3b8417be6c87458bf84166b282b155019bc834a4
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1247203
milestone47.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 1247203 - Remove useless call to main(). r=jryans
devtools/shared/Loader.jsm
--- a/devtools/shared/Loader.jsm
+++ b/devtools/shared/Loader.jsm
@@ -300,20 +300,16 @@ DevToolsLoader.prototype = {
     };
     // Lazy define console in order to load Console.jsm only when it is used
     XPCOMUtils.defineLazyGetter(this._provider.globals, "console", () => {
       return Cu.import("resource://gre/modules/Console.jsm", {}).console;
     });
 
     this._provider.load();
     this.require = Loader.Require(this._provider.loader, { id: "devtools" });
-
-    if (this._mainid) {
-      this.main(this._mainid);
-    }
   },
 
   /**
    * Choose a default tools provider based on the preferences.
    */
   _loadProvider: function() {
     this.setProvider(new BuiltinProvider());
   },