Bug 1247203 - Remove useless call to main(). r=jryans
authorAlexandre Poirot <poirot.alex@gmail.com>
Fri, 04 Mar 2016 07:51:11 -0800
changeset 286912 80ad10b22bcc3412a05d2c4ef88722fea7b9ea3b
parent 286911 a668838de9dcb7c3ca77144e903c988443329bf9
child 286913 3b8417be6c87458bf84166b282b155019bc834a4
push id30057
push userryanvm@gmail.com
push dateSun, 06 Mar 2016 00:23:13 +0000
treeherdermozilla-central@46210f3ae078 [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());
   },