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/eda499…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/eda499…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch mullvad-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
7f62dab3 by Henry Wilkes at 2024-09-11T11:49:25+02:00
fixup! Firefox preference overrides.
Bug 42653: Hide neterror reporting checkbox.
- - - - -
58b09ef5 by Henry Wilkes at 2024-09-11T11:49:26+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
=====================================
@@ -4683,11 +4683,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
@@ -4707,10 +4709,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/mullvad-browser/-/compare/e5…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/e5…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
7fa115dd by Henry Wilkes at 2024-09-11T10:10:49+01:00
fixup! Firefox preference overrides.
Bug 42653: Hide neterror reporting checkbox.
- - - - -
24265a33 by Henry Wilkes at 2024-09-11T10:11:22+01: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
=====================================
@@ -4812,11 +4812,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
@@ -4836,10 +4838,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/f5f0ab…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/f5f0ab…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
c0f033e8 by Henry Wilkes at 2024-09-11T09:02:54+02:00
fixup! Bug 42027: Base Browser migration procedures.
Bug 42777: Clear user preferences for GPC and DNT.
- - - - -
f67ca0ab by Henry Wilkes at 2024-09-11T09:02:55+02:00
Bug 42777: Hide Website Privacy Preferences.
We hide the Website Privacy Preferences section, which controls the
"global privacy control" (GPC) and "do not track" (DNT) settings.
- - - - -
2 changed files:
- browser/components/BrowserGlue.sys.mjs
- browser/components/preferences/privacy.inc.xhtml
Changes:
=====================================
browser/components/BrowserGlue.sys.mjs
=====================================
@@ -4812,7 +4812,9 @@ BrowserGlue.prototype = {
_migrateUIBB() {
// Version 1: 13.0a3. Reset layout.css.prefers-color-scheme.content-override
// for tor-browser#41739.
- const MIGRATION_VERSION = 1;
+ // Version 2: Reset the privacy tracking headers preferences since the UI
+ // is hidden. tor-browser#42777.
+ 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
// we just quickly clear a user preference, which should not do anything to
@@ -4825,6 +4827,20 @@ BrowserGlue.prototype = {
"layout.css.prefers-color-scheme.content-override"
);
}
+ if (currentVersion < 2) {
+ for (const prefName of [
+ "privacy.globalprivacycontrol.enabled",
+ "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.
+ "privacy.globalprivacycontrol.functionality.enabled",
+ "privacy.globalprivacycontrol.pbmode.enabled",
+ ]) {
+ Services.prefs.clearUserPref(prefName);
+ }
+ }
+
Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION);
},
=====================================
browser/components/preferences/privacy.inc.xhtml
=====================================
@@ -358,7 +358,7 @@
</vbox>
</vbox>
</groupbox>
-<groupbox id="nonTechnicalPrivacyGroup" data-category="panePrivacy" data-subcategory="nontechnicalprivacy" hidden="true">
+<groupbox id="nonTechnicalPrivacyGroup" data-category="panePrivacy" data-subcategory="nontechnicalprivacy" data-hidden-from-search="true" hidden="true">
<label id="nonTechnicalPrivacyHeader"><html:h2 data-l10n-id="non-technical-privacy-header"/></label>
<vbox id="nonTechnicalPrivacyBox">
<hbox id="globalPrivacyControlBox" flex="1" align="center" hidden="true">
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/6b115b…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/6b115b…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
6b115b94 by Henry Wilkes at 2024-09-11T09:02:23+02:00
Bug 43109: Hide Firefox Relay from settings.
This should remain disabled, see tor-browser#42814.
- - - - -
1 changed file:
- browser/components/preferences/privacy.js
Changes:
=====================================
browser/components/preferences/privacy.js
=====================================
@@ -3046,8 +3046,12 @@ var gPrivacyPane = {
},
_updateRelayIntegrationUI() {
- document.getElementById("relayIntegrationBox").hidden =
- !FirefoxRelay.isAvailable;
+ // In Base Browser, we always hide the integration checkbox since
+ // FirefoxRelay should remain disabled.
+ // See tor-browser#43109 and tor-browser#42814.
+ // NOTE: FirefoxRelay.isAvailable will be true whenever
+ // FirefoxRelay.isDisabled is true.
+ document.getElementById("relayIntegrationBox").hidden = true;
document.getElementById("relayIntegration").checked =
FirefoxRelay.isAvailable && !FirefoxRelay.isDisabled;
},
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/6b115b9…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/6b115b9…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
0737d82c by Henry Wilkes at 2024-09-11T06:55:48+00:00
fixup! Bug 18905: Hide unwanted items from help menu
Bug 42647: Hide the switch device menu item.
- - - - -
0002935b by Henry Wilkes at 2024-09-11T06:55:48+00:00
fixup! Firefox preference overrides.
Bug 42647: Remove unused preference
browser.device-migration.help-menu.hidden.
- - - - -
2 changed files:
- browser/app/profile/001-base-profile.js
- browser/base/content/browser-menubar.inc
Changes:
=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -20,9 +20,6 @@ pref("browser.aboutwelcome.enabled", false);
// Disable the Firefox View tab (tor-browser#41876)
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);
-
#if MOZ_UPDATE_CHANNEL == release
// tor-browser#42640: Disable Firefox Flame buttond due to unknown interactions with New Identity
pref("browser.privatebrowsing.resetPBM.enabled", false, locked);
=====================================
browser/base/content/browser-menubar.inc
=====================================
@@ -511,6 +511,7 @@
hidden="true"/>
<menuitem id="helpSwitchDevice"
oncommand="openSwitchingDevicesPage();"
+ hidden="true"
data-l10n-id="menu-help-switch-device"
appmenu-data-l10n-id="appmenu-help-switch-device"/>
<menuseparator id="aboutSeparator"/>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/941338…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/941338…
You're receiving this email because of your account on gitlab.torproject.org.