Skip to content

Commit

Permalink
Allow BUILD_ID changes to show release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Oct 5, 2023
1 parent 6b9ec48 commit 567b2b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions browser/components/BrowserContentHandler.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,11 @@ nsBrowserContentHandler.prototype = {
overridePage = overridePage.replace("%OLD_VERSION%", old_mstone);
break;
case OVERRIDE_NEW_BUILD_ID:
overridePage = Services.urlFormatter.formatURLPref(
"startup.homepage_override_url"
);
if (lazy.UpdateManager.readyUpdate) {
overridePage = getPostUpdateOverridePage(update, overridePage);
// Send the update ping to signal that the update was successful.
lazy.UpdatePing.handleUpdateSuccess(old_mstone, old_buildId);
}
Expand Down

0 comments on commit 567b2b5

Please sign in to comment.