Created
April 30, 2019 21:41
-
-
Save nthomas-mozilla/760bc117b235ae08358f87f1ceec7604 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/browser/components/BrowserContentHandler.jsm b/browser/components/BrowserContentHandler.jsm | |
--- a/browser/components/BrowserContentHandler.jsm | |
+++ b/browser/components/BrowserContentHandler.jsm | |
@@ -548,38 +548,33 @@ nsBrowserContentHandler.prototype = { | |
case OVERRIDE_NEW_PROFILE: | |
// New profile. | |
overridePage = Services.urlFormatter.formatURLPref("startup.homepage_welcome_url"); | |
additionalPage = Services.urlFormatter.formatURLPref("startup.homepage_welcome_url.additional"); | |
// Turn on 'later run' pages for new profiles. | |
LaterRun.enabled = true; | |
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. | |
willRestoreSession = SessionStartup.isAutomaticRestoreEnabled(); | |
overridePage = Services.urlFormatter.formatURLPref("startup.homepage_override_url"); | |
if (prefb.prefHasUserValue("app.update.postupdate")) { | |
overridePage = getPostUpdateOverridePage(overridePage); | |
// Send the update ping to signal that the update was successful. | |
UpdatePing.handleUpdateSuccess(old_mstone, old_buildId); | |
} | |
overridePage = overridePage.replace("%OLD_VERSION%", old_mstone); | |
break; | |
- case OVERRIDE_NEW_BUILD_ID: | |
- if (prefb.prefHasUserValue("app.update.postupdate")) { | |
- // Send the update ping to signal that the update was successful. | |
- UpdatePing.handleUpdateSuccess(old_mstone, old_buildId); | |
- } | |
- break; | |
} | |
} | |
} catch (ex) {} | |
// formatURLPref might return "about:blank" if getting the pref fails | |
if (overridePage == "about:blank") | |
overridePage = ""; | |
diff --git a/browser/config/whats_new_page.yml b/browser/config/whats_new_page.yml | |
--- a/browser/config/whats_new_page.yml | |
+++ b/browser/config/whats_new_page.yml | |
@@ -13,46 +13,11 @@ | |
blob-types: [wnp] | |
release-types: [release, release-rc] | |
products: [firefox] | |
update-channel: release | |
# e.g.: ["<61.0"]. {version.major_number} reflects the current version. | |
# This is done by taskgraph. | |
versions: ["<{version.major_number}.0"] | |
locales: | |
- - be | |
- - cak | |
- - cs | |
- - cy | |
- - da | |
- de | |
- - dsb | |
- - en-CA | |
- - en-GB | |
- en-US | |
- - es-AR | |
- - es-CL | |
- - es-ES | |
- fr | |
- - fy-NL | |
- - gu-IN | |
- - hsb | |
- - hu | |
- - ia | |
- - id | |
- - it | |
- - ka | |
- - nl | |
- - nn-NO | |
- - pl | |
- - pt-BR | |
- - pt-PT | |
- - rm | |
- - ro | |
- - ru | |
- - sk | |
- - sl | |
- - sq | |
- - sv-SE | |
- - tr | |
- - vi | |
- - zh-CN | |
- - zh-TW |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment