Bug 1407195 - Remove obsolete BrowserStartup and BrowserShutdown functions. r=dao
authornikshepsvn@gmail.com
Wed, 11 Oct 2017 18:39:41 +0200
changeset 385593 893e45de11ab
parent 385592 257ce836b882
child 385594 f2b1253de1e6
push id96055
push userdgottwald@mozilla.com
push dateWed, 11 Oct 2017 16:40:06 +0000
treeherdermozilla-inbound@893e45de11ab [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1407195
milestone58.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 1407195 - Remove obsolete BrowserStartup and BrowserShutdown functions. r=dao MozReview-Commit-ID: 1x48JtX6KNf
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -1997,27 +1997,16 @@ if (AppConstants.platform == "macosx") {
       clearTimeout(this._delayedStartupTimeoutId);
       return;
     }
 
     BrowserOffline.uninit();
   };
 }
 
-
-/* Legacy global init functions */
-var BrowserStartup        = gBrowserInit.onLoad.bind(gBrowserInit);
-var BrowserShutdown       = gBrowserInit.onUnload.bind(gBrowserInit);
-
-if (AppConstants.platform == "macosx") {
-  var nonBrowserWindowStartup        = gBrowserInit.nonBrowserWindowStartup.bind(gBrowserInit);
-  var nonBrowserWindowDelayedStartup = gBrowserInit.nonBrowserWindowDelayedStartup.bind(gBrowserInit);
-  var nonBrowserWindowShutdown       = gBrowserInit.nonBrowserWindowShutdown.bind(gBrowserInit);
-}
-
 function HandleAppCommandEvent(evt) {
   switch (evt.command) {
   case "Back":
     BrowserBack();
     break;
   case "Forward":
     BrowserForward();
     break;