Bug 1170567 - back out upgrade changes for watershed aurora builds, rs=me, a=sylvestre
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 02 Jun 2015 15:38:44 +0100
changeset 275089 3830ac632774795e022cd4ae3a69f7d8ff5613be
parent 275088 73a10017683c4c6c6f3b8a91b5cd79ae9a71b1d6
child 275090 37d5ec17d2fc9eb63a65a74c49c6991a3aa990ed
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, sylvestre
bugs1170567
milestone40.0a2
Bug 1170567 - back out upgrade changes for watershed aurora builds, rs=me, a=sylvestre
browser/components/nsBrowserContentHandler.js
--- a/browser/components/nsBrowserContentHandler.js
+++ b/browser/components/nsBrowserContentHandler.js
@@ -506,17 +506,16 @@ nsBrowserContentHandler.prototype = {
       let override = needHomepageOverride(prefb);
       if (override != OVERRIDE_NONE) {
         switch (override) {
           case OVERRIDE_NEW_PROFILE:
             // New profile.
             overridePage = Services.urlFormatter.formatURLPref("startup.homepage_welcome_url");
             break;
           case OVERRIDE_NEW_MSTONE:
-          case OVERRIDE_NEW_BUILD_ID:
             // Check whether we will restore a session. If we will, we assume
             // that this is an "update" session. This does not take crashes
             // into account because that requires waiting for the session file
             // to be read. If a crash occurs after updating, before restarting,
             // we may open the startPage in addition to restoring the session.
             var ss = Components.classes["@mozilla.org/browser/sessionstartup;1"]
                                .getService(Components.interfaces.nsISessionStartup);
             willRestoreSession = ss.isAutomaticRestoreEnabled();