morgan pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
431ff1b6 by Pier Angelo Vendrame at 2024-08-28T20:33:14+00:00
fixup! Bug 42247: Android helpers for the TorProvider
Bug 42607: Stop shipping GeoIP databases for now.
- - - - -
1 changed file:
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorIntegrationAndroid.java
Changes:
=====================================
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorIntegrationAndroid.java
=====================================
@@ -289,13 +289,16 @@ public class TorIntegrationAndroid implements BundleEventListener {
Log.w(TAG, "torrc-default cannot be created, pluggable transports will not be available", e);
copied = false;
}
- try {
+ // tor-browser#42607: For now we do not ship geoip databases, as we
+ // do not have the circuit display functionality and they allow us
+ // to save some space in the final APK.
+ /*try {
copyAndUseConfigFile("GeoIPFile", "geoip", args);
copyAndUseConfigFile("GeoIPv6File", "geoip6", args);
} catch (IOException e) {
Log.w(TAG, "GeoIP files cannot be created, this feature will not be available.", e);
copied = false;
- }
+ }*/
mCopiedConfigFiles = copied;
Log.d(TAG, "Starting tor with the follwing args: " + args.toString());
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/431ff1b…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/431ff1b…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch mullvad-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
07162010 by Henry Wilkes at 2024-08-28T20:30:43+00:00
Bug 41736: Customize toolbar for mullvad-browser.
- - - - -
1 changed file:
- browser/components/customizableui/CustomizableUI.sys.mjs
Changes:
=====================================
browser/components/customizableui/CustomizableUI.sys.mjs
=====================================
@@ -65,6 +65,11 @@ var kVersion = 20;
var kVersionBaseBrowser = 2;
const NoScriptId = "_73a6fe31-595d-460b-a920-fcc0f8843232_-browser-action";
+/**
+ * The current version for mullvad browser.
+ */
+var kVersionMullvadBrowser = 1;
+
/**
* Buttons removed from built-ins by version they were removed. kVersion must be
* bumped any time a new id is added to this. Use the button id as key, and
@@ -228,6 +233,7 @@ var CustomizableUIInternal = {
this._updateForNewProtonVersion();
this._markObsoleteBuiltinButtonsSeen();
this._updateForBaseBrowser();
+ this._updateForMullvadBrowser();
this.registerArea(
CustomizableUI.AREA_FIXED_OVERFLOW_PANEL,
@@ -264,7 +270,11 @@ var CustomizableUIInternal = {
// Base-browser additions tor-browser#41736. If you want to add to, remove
// from, or rearrange this list, then bump the kVersionBaseBrowser and
// update existing saved states in _updateForBaseBrowser.
- "security-level-button",
+ // Or if the change is only meant for mullvad-browser, bump
+ // kVersionMullvadBrowser instead and update the existing saved states in
+ // _updateForMullvadBrowser.
+ // Do not show the security-level-button by default in Mullvad Browser.
+ // See mullvad-browser#329
"new-identity-button",
"downloads-button",
AppConstants.MOZ_DEV_EDITION ? "developer-button" : null,
@@ -930,6 +940,44 @@ var CustomizableUIInternal = {
}
},
+ _updateForMullvadBrowser() {
+ if (!gSavedState) {
+ // Use the defaults.
+ return;
+ }
+
+ const currentVersion = gSavedState.currentVersionMullvadBrowser;
+
+ if (currentVersion < 1) {
+ // Remove security-level-button if:
+ // + it hasn't been moved out of the navbar by the user, and
+ // + the user does not have a custom security level.
+ //
+ // NOTE: _updateForBaseBrowser adds this button when
+ // currentVersionBaseBrowser < 1. This should only happen when
+ // currentVersionMullvadBrowser < 1, and this method runs after, so should
+ // reverse it.
+ const navbarPlacements =
+ gSavedState.placements[CustomizableUI.AREA_NAVBAR];
+ if (navbarPlacements) {
+ const buttonIndex = navbarPlacements.indexOf("security-level-button");
+ // Test if security level icon exists in the navbar.
+ // Even though a user may have moved the button within the navbar,
+ // there is no simple way to know whether the button was moved, or if
+ // other components were moved around it.
+ if (buttonIndex >= 0) {
+ // NOTE: We expect the SecurityLevel module to already be initialized.
+ const { SecurityLevelPrefs } = ChromeUtils.importESModule(
+ "resource://gre/modules/SecurityLevel.sys.mjs"
+ );
+ if (!SecurityLevelPrefs.securityCustom) {
+ navbarPlacements.splice(buttonIndex, 1);
+ }
+ }
+ }
+ }
+ },
+
_placeNewDefaultWidgetsInArea(aArea) {
let futurePlacedWidgets = gFuturePlacements.get(aArea);
let savedPlacements =
@@ -2773,6 +2821,10 @@ var CustomizableUIInternal = {
gSavedState.currentVersionBaseBrowser = 0;
}
+ if (!("currentVersionMullvadBrowser" in gSavedState)) {
+ gSavedState.currentVersionMullvadBrowser = 0;
+ }
+
gSeenWidgets = new Set(gSavedState.seen || []);
gDirtyAreaCache = new Set(gSavedState.dirtyAreaCache || []);
gNewElementCount = gSavedState.newElementCount || 0;
@@ -2856,6 +2908,7 @@ var CustomizableUIInternal = {
dirtyAreaCache: gDirtyAreaCache,
currentVersion: kVersion,
currentVersionBaseBrowser: kVersionBaseBrowser,
+ currentVersionMullvadBrowser: kVersionMullvadBrowser,
newElementCount: gNewElementCount,
};
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/071…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/071…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
ba8dff6e by Henry Wilkes at 2024-08-28T20:09:34+00:00
fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
Bug 42803: Force focus ring to show for built-in bridge radio options.
- - - - -
1 changed file:
- browser/components/torpreferences/content/builtinBridgeDialog.js
Changes:
=====================================
browser/components/torpreferences/content/builtinBridgeDialog.js
=====================================
@@ -114,6 +114,16 @@ const gBuiltinBridgeDialog = {
},
};
+// Initial focus is not visible, even if opened with a keyboard. We avoid the
+// default handler and manage the focus ourselves, which will paint the focus
+// ring by default.
+// NOTE: A side effect is that the focus ring will show even if the user opened
+// with a mouse event.
+// TODO: Remove this once bugzilla bug 1708261 is resolved.
+document.subDialogSetDefaultFocus = () => {
+ document.getElementById("torPreferences-builtinBridge-typeSelection").focus();
+};
+
window.addEventListener(
"DOMContentLoaded",
() => {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ba8dff6…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ba8dff6…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch mullvad-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
5a5a977a by Pier Angelo Vendrame at 2024-08-28T19:54:12+00:00
fixup! Firefox preference overrides.
Bug 42685: Re-enable textmetrics.
They do not add entropy (see the issue), so re-enable them for
compatibility.
- - - - -
1 changed file:
- browser/app/profile/001-base-profile.js
Changes:
=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -419,11 +419,6 @@ pref("network.http.referer.XOriginTrimmingPolicy", 2); // Bug 17228: Force trim
pref("media.videocontrols.picture-in-picture.enabled", false); // Bug 40148: disable until audited in #40147
// Bug 40463: Disable Windows SSO
pref("network.http.windows-sso.enabled", false, locked);
-// Disable API for measuring text width and height.
-pref("dom.textMetrics.actualBoundingBox.enabled", false);
-pref("dom.textMetrics.baselines.enabled", false);
-pref("dom.textMetrics.emHeight.enabled", false);
-pref("dom.textMetrics.fontBoundingBox.enabled", false);
// tor-browser#40424
pref("pdfjs.enableScripting", false);
// Bug 40057: Ensure system colors are not used for CSS4 colors
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/5a5…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/5a5…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch base-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
8fe2c105 by Pier Angelo Vendrame at 2024-08-28T19:52:42+00:00
fixup! Firefox preference overrides.
Bug 42685: Re-enable textmetrics.
They do not add entropy (see the issue), so re-enable them for
compatibility.
- - - - -
1 changed file:
- browser/app/profile/001-base-profile.js
Changes:
=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -419,11 +419,6 @@ pref("network.http.referer.XOriginTrimmingPolicy", 2); // Bug 17228: Force trim
pref("media.videocontrols.picture-in-picture.enabled", false); // Bug 40148: disable until audited in #40147
// Bug 40463: Disable Windows SSO
pref("network.http.windows-sso.enabled", false, locked);
-// Disable API for measuring text width and height.
-pref("dom.textMetrics.actualBoundingBox.enabled", false);
-pref("dom.textMetrics.baselines.enabled", false);
-pref("dom.textMetrics.emHeight.enabled", false);
-pref("dom.textMetrics.fontBoundingBox.enabled", false);
// tor-browser#40424
pref("pdfjs.enableScripting", false);
// Bug 40057: Ensure system colors are not used for CSS4 colors
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/8fe2c10…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/8fe2c10…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
80c99d24 by Pier Angelo Vendrame at 2024-08-28T18:22:45+02:00
fixup! Firefox preference overrides.
Bug 42685: Re-enable textmetrics.
They do not add entropy (see the issue), so re-enable them for
compatibility.
- - - - -
1 changed file:
- browser/app/profile/001-base-profile.js
Changes:
=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -419,11 +419,6 @@ pref("network.http.referer.XOriginTrimmingPolicy", 2); // Bug 17228: Force trim
pref("media.videocontrols.picture-in-picture.enabled", false); // Bug 40148: disable until audited in #40147
// Bug 40463: Disable Windows SSO
pref("network.http.windows-sso.enabled", false, locked);
-// Disable API for measuring text width and height.
-pref("dom.textMetrics.actualBoundingBox.enabled", false);
-pref("dom.textMetrics.baselines.enabled", false);
-pref("dom.textMetrics.emHeight.enabled", false);
-pref("dom.textMetrics.fontBoundingBox.enabled", false);
// tor-browser#40424
pref("pdfjs.enableScripting", false);
// Bug 40057: Ensure system colors are not used for CSS4 colors
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/80c99d2…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/80c99d2…
You're receiving this email because of your account on gitlab.torproject.org.