Skip to content
Snippets Groups Projects
Commit cbbe6495 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! TB 41668: Tweaks to the Base Browser updater for Tor Browser

TB 43567: Drop torbrowser.post_update.url.

Also, no longer require an override page to be set to open about:tor
after an update.
parent d9cd6fce
Branches
Tags
1 merge request!1505BB/TB 43416: Rebased onto 135.0a1
......@@ -1016,18 +1016,12 @@ nsBrowserContentHandler.prototype = {
"%OLD_BASE_BROWSER_VERSION%",
old_forkVersion
);
if (overridePage && AppConstants.BASE_BROWSER_UPDATE) {
if (AppConstants.BASE_BROWSER_UPDATE) {
// Tor Browser: Instead of opening the post-update "override page"
// directly, we ensure that about:tor will be opened, which should
// notify the user that their browser was updated.
//
// The overridePage comes from the openURL attribute within the
// updates.xml file or, if no showURL action is present, from the
// startup.homepage_override_url pref.
Services.prefs.setCharPref(
"torbrowser.post_update.url",
overridePage
);
// NOTE: We ignore any overridePage value, which can come from the
// openURL attribute within the updates.xml file.
Services.prefs.setBoolPref(
"torbrowser.post_update.shouldNotify",
true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment