[tbb-commits] [Git][tpo/applications/tor-browser][base-browser-115.3.0esr-13.0-1] 2 commits: Bug 42037: Disable about:firefoxview page

richard (@richard) git at gitlab.torproject.org
Tue Sep 19 16:43:48 UTC 2023



richard pushed to branch base-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser


Commits:
7e2251fa by Richard Pospesel at 2023-09-19T16:43:14+00:00
Bug 42037: Disable about:firefoxview page

- - - - -
0d8c542b by Richard Pospesel at 2023-09-19T16:43:28+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
=====================================
@@ -70,13 +70,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',
     'messagepreview',
     'newtab',
     'policies',


=====================================
browser/components/moz.build
=====================================
@@ -36,7 +36,6 @@ DIRS += [
     "downloads",
     "enterprisepolicies",
     "extensions",
-    "firefoxview",
     "messagepreview",
     "migration",
     "newidentity",



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/1d65f29cbe66e796ba81c47e40bbbe6c9a0a3866...0d8c542b82ff0d96528104ab0b79a64e361ab9de

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/1d65f29cbe66e796ba81c47e40bbbe6c9a0a3866...0d8c542b82ff0d96528104ab0b79a64e361ab9de
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230919/31fc7744/attachment-0001.htm>


More information about the tbb-commits mailing list