
richard pushed to branch tor-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser Commits: de2607a3 by Richard Pospesel at 2023-09-19T16:39:57+00:00 Bug 42037: Disable about:firefoxview page - - - - - da639dcd by Richard Pospesel at 2023-09-19T16:40:13+00:00 fixup! Firefox preference overrides. lock the pref to false which puts the firefoxview button in the tab bar - - - - - 4 changed files: - browser/app/profile/001-base-profile.js - browser/components/about/AboutRedirector.cpp - browser/components/about/components.conf - browser/components/moz.build Changes: ===================================== browser/app/profile/001-base-profile.js ===================================== @@ -18,7 +18,7 @@ pref("startup.homepage_welcome_url.additional", ""); pref("browser.aboutwelcome.enabled", false); // Disable the Firefox View tab (tor-browser#41876) -pref("browser.tabs.firefox-view", false); +pref("browser.tabs.firefox-view", false, locked); // Disable 'Switching to a new device" help menu item (tor-browser#41774) pref("browser.device-migration.help-menu.hidden", true); ===================================== browser/components/about/AboutRedirector.cpp ===================================== @@ -75,13 +75,6 @@ static const RedirEntry kRedirMap[] = { nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS | nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT | nsIAboutModule::IS_SECURE_CHROME_UI}, - {"firefoxview", "chrome://browser/content/firefoxview/firefoxview.html", - nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI | - nsIAboutModule::HIDE_FROM_ABOUTABOUT}, - {"firefoxview-next", - "chrome://browser/content/firefoxview/firefoxview-next.html", - nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI | - nsIAboutModule::HIDE_FROM_ABOUTABOUT}, {"policies", "chrome://browser/content/policies/aboutPolicies.html", nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI}, {"privatebrowsing", "about:blank", ===================================== browser/components/about/components.conf ===================================== @@ -12,8 +12,6 @@ pages = [ 'home', 'logins', 'loginsimportreport', - 'firefoxview', - 'firefoxview-next', 'manual', 'messagepreview', 'newtab', ===================================== browser/components/moz.build ===================================== @@ -37,7 +37,6 @@ DIRS += [ "downloads", "enterprisepolicies", "extensions", - "firefoxview", "messagepreview", "migration", "newidentity", View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/54b2f6d... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/54b2f6d... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
richard (@richard)