[tor-commits] [Git][tpo/applications/tor-browser][base-browser-128.2.0esr-14.0-1] 2 commits: fixup! Firefox preference overrides.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Wed Sep 11 09:49:50 UTC 2024



Pier Angelo Vendrame pushed to branch base-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser


Commits:
28593074 by Henry Wilkes at 2024-09-11T11:49:11+02:00
fixup! Firefox preference overrides.

Bug 42653: Hide neterror reporting checkbox.

- - - - -
cb7cdb5f by Henry Wilkes at 2024-09-11T11:49:14+02:00
fixup! Bug 42027: Base Browser migration procedures.

Bug 42653: Reset security.xfocsp.errorReporting.automatic.

- - - - -


2 changed files:

- browser/app/profile/001-base-profile.js
- browser/components/BrowserGlue.sys.mjs


Changes:

=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -212,6 +212,9 @@ pref("browser.tabs.crashReporting.sendReport", false);
 pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
 // Added in tor-browser#41496 even though false by default
 pref("browser.crashReports.unsubmittedCheck.enabled", false);
+// Disable checkbox in about:neterror that controls
+// security.xfocsp.errorReporting.automatic. See tor-browser#42653.
+pref("security.xfocsp.errorReporting.enabled", false);
 // Added in tor-browser#41496 even though it shuld be already always disabled
 // since we disable MOZ_CRASHREPORTER.
 pref("breakpad.reportURL", "data:");


=====================================
browser/components/BrowserGlue.sys.mjs
=====================================
@@ -4701,11 +4701,13 @@ BrowserGlue.prototype = {
   _migrateUIBB() {
     // Version 1: 13.0a3. Reset layout.css.prefers-color-scheme.content-override
     //            for tor-browser#41739.
-    // Version 2: 14.0a5:Reset the privacy tracking headers preferences since
+    // Version 2: 14.0a5: Reset the privacy tracking headers preferences since
     //            the UI is hidden. tor-browser#42777.
     //            Also, do not set
     //            dom.security.https_only_mode_send_http_background_request in
     //            the security level anymore (tor-browser#42149).
+    //            Also, reset security.xfocsp.errorReporting.automatic since we
+    //            hid its neterror checkbox. tor-browser#42653.
     const MIGRATION_VERSION = 2;
     const MIGRATION_PREF = "basebrowser.migration.version";
     // We do not care whether this is a new or old profile, since in version 1
@@ -4725,10 +4727,11 @@ BrowserGlue.prototype = {
         "privacy.donottrackheader.enabled",
         // Telemetry preference for if the user changed the value.
         "privacy.globalprivacycontrol.was_ever_enabled",
-        // The last two preferences have no corresponding UI, but are related.
+        // The next two preferences have no corresponding UI, but are related.
         "privacy.globalprivacycontrol.functionality.enabled",
         "privacy.globalprivacycontrol.pbmode.enabled",
         "dom.security.https_only_mode_send_http_background_request",
+        "security.xfocsp.errorReporting.automatic",
       ]) {
         Services.prefs.clearUserPref(prefName);
       }



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/eda499b9b4c349890f26f5a25ad177287179bb81...cb7cdb5f8816d25be65210c9a58602a9a3aca0d3

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/eda499b9b4c349890f26f5a25ad177287179bb81...cb7cdb5f8816d25be65210c9a58602a9a3aca0d3
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/tor-commits/attachments/20240911/6f3cdba1/attachment-0001.htm>


More information about the tor-commits mailing list