richard pushed to branch main at The Tor Project / Applications / tor-browser-build
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
Deleted commits:
1fbacc7a by Cecylia Bocovich at 2024-03-18T15:11:18-04:00
Bug 41105: Bump Snowflake version to v2.9.2
- - - - -
2 changed files:
- projects/snowflake/config
- rbm
Changes:
=====================================
projects/snowflake/config
=====================================
@@ -1,7 +1,7 @@
# vim: filetype=yaml sw=2
version: '[% c("abbrev") %]'
git_url: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snow…
-git_hash: v2.9.0
+git_hash: v2.9.2
gpg_keyring: anti-censorship.gpg
tag_gpg_id: 1
@@ -22,6 +22,6 @@ steps:
pkg_type: go_vendor
project: snowflake
norec:
- sha256sum: a081c55db822f9f26121e9f986d1a74c212b01303daf43eef1ea3f808b1b8c0b
+ sha256sum: be96eed0509e9bee22c71a9145fea90e3d63ec972e17324a119d16a3e931eebc
target_replace:
'^torbrowser-(?!testbuild).*': 'torbrowser-linux-x86_64'
=====================================
rbm
=====================================
@@ -1 +1 @@
-Subproject commit 10c6b24e90e3dc9c2578290a7d82a87b7f4eb9a3
+Subproject commit b5e5b04aaf677c4bacfb5ace45598313286bfdf6
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/1…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/1…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-115.9.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
ae92391a by hackademix at 2024-03-18T17:15:20+01:00
fixup! Add TorStrings module for localization
Bug 42440: Remove the "Prioritize .onion sites when known" option
- - - - -
2 changed files:
- browser/modules/TorStrings.jsm
- toolkit/torbutton/chrome/locale/en-US/onionLocation.properties
Changes:
=====================================
browser/modules/TorStrings.jsm
=====================================
@@ -471,20 +471,15 @@ const Loader = {
*/
onionLocation() {
const strings = {
- alwaysPrioritize: "Always Prioritize Onionsites",
- alwaysPrioritizeAccessKey: "a",
+ learnMore: "Learn more…",
+ loadOnion: "Visit the .onion",
+ loadOnionAccessKey: "V",
notNow: "Not Now",
notNowAccessKey: "n",
description:
- "Website publishers can protect users by adding a security layer. This prevents eavesdroppers from knowing that you are the one visiting that website.",
- tryThis: "Try this: Onionsite",
- onionAvailable: "Onionsite available",
- learnMore: "Learn more",
- always: "Always",
- askEverytime: "Ask you every time",
- prioritizeOnionsDescription:
- "Prioritize onionsites when they are available.",
- onionServicesTitle: "Onion Services",
+ "There's a more private and secure version of this site available over the Tor network via onion services. Onion services help website publishers and their visitors defeat surveillance and censorship.",
+ tryThis: "Try Onion Services",
+ onionAvailable: ".onion available",
};
const tsb = new TorPropertyStringBundle(
=====================================
toolkit/torbutton/chrome/locale/en-US/onionLocation.properties
=====================================
@@ -4,10 +4,10 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Onion-Location strings.
-onionLocation.alwaysPrioritize=Always Prioritize Onions
-# Localization note: this is the access key for "Always Prioritize Onions".
+onionLocation.loadOnion=Visit the .onion
+# Localization note: this is the access key for "Visit the .onion".
# It should be a character that appears in that string.
-onionLocation.alwaysPrioritizeAccessKey=a
+onionLocation.loadOnionAccessKey=V
onionLocation.notNow=Not Now
# Localization note: this is the access key for "Not now".
# It should be a character that appears in that string.
@@ -16,7 +16,3 @@ onionLocation.description=There's a more private and secure version of this site
onionLocation.tryThis=Try Onion Services
onionLocation.onionAvailable=.onion available
onionLocation.learnMore=Learn more…
-onionLocation.always=Always
-onionLocation.askEverytime=Ask every time
-onionLocation.prioritizeOnionsDescription=Prioritize .onion sites when known.
-onionLocation.onionServicesTitle=Onion Services
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ae92391…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ae92391…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-115.9.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
03ee248c by Pier Angelo Vendrame at 2024-03-18T16:59:33+01:00
fixup! Bug 21952: Implement Onion-Location
Fix some errors introduced while cherry-picking
9920c7225592aac5e05aff56d48bb0bdcc6d9193 as
4b69c25929cce11ca9758996f04ec830bb53e670.
- - - - -
1 changed file:
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
Changes:
=====================================
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
=====================================
@@ -476,9 +476,6 @@ public final class GeckoRuntimeSettings extends RuntimeSettings {
getSettings().mSecurityLevel.set(level);
return this;
}
-
- return this;
- }
}
private GeckoRuntime mRuntime;
@@ -1322,9 +1319,6 @@ public final class GeckoRuntimeSettings extends RuntimeSettings {
return this;
}
- return this;
- }
-
@Override // Parcelable
public void writeToParcel(final Parcel out, final int flags) {
super.writeToParcel(out, flags);
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/03ee248…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/03ee248…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch tor-browser-115.9.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
cdfc3cf2 by Henry Wilkes at 2024-03-14T16:38:30+00:00
fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
Bug 42446: Improve accessible description of built-in radio options.
- - - - -
0a704bcc by Henry Wilkes at 2024-03-14T16:38:30+00:00
fixup! Tor Browser strings
Bug 42446: Add ending-punctuation to the "Current bridge" accessible
name to separate it from the rest of the built-bridge description.
- - - - -
018c552b by Henry Wilkes at 2024-03-14T16:38:30+00:00
fixup! Add TorStrings module for localization
Bug 42446: Drop old "Current bridge" string.
- - - - -
5 changed files:
- browser/components/torpreferences/content/builtinBridgeDialog.js
- browser/components/torpreferences/content/builtinBridgeDialog.xhtml
- browser/locales/en-US/browser/tor-browser.ftl
- toolkit/modules/TorStrings.sys.mjs
- toolkit/torbutton/chrome/locale/en-US/settings.properties
Changes:
=====================================
browser/components/torpreferences/content/builtinBridgeDialog.js
=====================================
@@ -57,18 +57,27 @@ const gBuiltinBridgeDialog = {
const type = radio.value;
optionEl.hidden = !TorSettings.builtinBridgeTypes.includes(type);
radio.label = typeStrings[type].label;
- optionEl.querySelector(
+ const descriptionEl = optionEl.querySelector(
".builtin-bridges-option-description"
- ).textContent = typeStrings[type].descr;
- optionEl.querySelector(
- ".torPreferences-current-bridge-label"
- ).textContent = TorStrings.settings.currentBridge;
- optionEl
- .querySelector(".bridge-status-badge")
- .classList.toggle(
- "bridge-status-current-built-in",
- type === currentBuiltinType
+ );
+ descriptionEl.textContent = typeStrings[type].descr;
+ const currentBadge = optionEl.querySelector(".bridge-status-badge");
+ if (type === currentBuiltinType) {
+ const currentLabelEl = optionEl.querySelector(
+ ".torPreferences-current-bridge-label"
);
+ // Described by both the current badge and the full description.
+ // These will be concatenated together in the screen reader output.
+ radio.setAttribute(
+ "aria-describedby",
+ `${currentLabelEl.id} ${descriptionEl.id}`
+ );
+ // Make visible.
+ currentBadge.classList.add("bridge-status-current-built-in");
+ } else {
+ // No visible badge.
+ radio.setAttribute("aria-describedby", descriptionEl.id);
+ }
}
if (currentBuiltinType) {
=====================================
browser/components/torpreferences/content/builtinBridgeDialog.xhtml
=====================================
@@ -9,6 +9,10 @@
xmlns:html="http://www.w3.org/1999/xhtml"
>
<dialog id="torPreferences-builtinBridge-dialog" buttons="accept,cancel">
+ <linkset>
+ <html:link rel="localization" href="browser/tor-browser.ftl" />
+ </linkset>
+
<script src="chrome://browser/content/torpreferences/builtinBridgeDialog.js" />
<description id="torPreferences-builtinBridge-description"> </description>
@@ -18,15 +22,13 @@
<!-- The radio option is described by both the "Current bridge" label
- and the full description. If the "Connected" label is hidden, then
- only the latter description should contribute. -->
- <radio
- aria-describedby="obfs-bridges-current obfs-bridges-description"
- value="obfs4"
- />
+ <radio value="obfs4" />
<html:span class="bridge-status-badge">
<html:div class="bridge-status-icon"></html:div>
<html:span
id="obfs-bridges-current"
class="torPreferences-current-bridge-label"
+ data-l10n-id="built-in-dialog-current-bridge-label"
>
</html:span>
</html:span>
@@ -39,15 +41,13 @@
</vbox>
<vbox class="builtin-bridges-option">
<hbox>
- <radio
- aria-describedby="snowflake-bridges-current snowflake-bridges-description"
- value="snowflake"
- />
+ <radio value="snowflake" />
<html:span class="bridge-status-badge">
<html:div class="bridge-status-icon"></html:div>
<html:span
id="snowflake-bridges-current"
class="torPreferences-current-bridge-label"
+ data-l10n-id="built-in-dialog-current-bridge-label"
>
</html:span>
</html:span>
@@ -60,15 +60,13 @@
</vbox>
<vbox class="builtin-bridges-option">
<hbox>
- <radio
- aria-describedby="meek-bridges-current meek-bridges-description"
- value="meek-azure"
- />
+ <radio value="meek-azure" />
<html:span class="bridge-status-badge">
<html:div class="bridge-status-icon"></html:div>
<html:span
id="meek-bridges-current"
class="torPreferences-current-bridge-label"
+ data-l10n-id="built-in-dialog-current-bridge-label"
>
</html:span>
</html:span>
=====================================
browser/locales/en-US/browser/tor-browser.ftl
=====================================
@@ -297,3 +297,10 @@ user-provide-bridge-dialog-result-invite = The following bridges were shared wit
user-provide-bridge-dialog-result-addresses = The following bridges were entered by you.
user-provide-bridge-dialog-next-button =
.label = Next
+
+## Built-in bridges dialog.
+
+# Label attached to the built-in bridge option that is already in use.
+# The "aria-label" should use the same text, but include some ending punctuation to separate it from the sentence that follows. This is used for screen reader users.
+built-in-dialog-current-bridge-label = Current bridge
+ .aria-label = Current bridge.
=====================================
toolkit/modules/TorStrings.sys.mjs
=====================================
@@ -98,7 +98,6 @@ const Loader = {
bridgeLocationFrequent: "Frequently selected locations",
bridgeLocationOther: "Other locations",
bridgeChooseForMe: "Choose a Bridge For Me…",
- currentBridge: "Current bridge",
remove: "Remove",
bridgeDisableBuiltIn: "Disable built-in bridges",
copied: "Copied!",
=====================================
toolkit/torbutton/chrome/locale/en-US/settings.properties
=====================================
@@ -33,7 +33,6 @@ settings.bridgeLocationFrequent=Frequently selected locations
settings.bridgeLocationOther=Other locations
settings.bridgeChooseForMe=Choose a Bridge For Me…
-settings.currentBridge=Current bridge
settings.remove=Remove
settings.bridgeDisableBuiltIn=Disable built-in bridges
settings.copied=Copied!
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/788a92…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/788a92…
You're receiving this email because of your account on gitlab.torproject.org.
ma1 pushed to branch base-browser-115.9.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
aefa5f37 by hackademix at 2024-03-13T20:35:54+01:00
Bug 42443: Shrink window to match letterboxing size when the emtpy area is clicked.
- - - - -
1 changed file:
- toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
Changes:
=====================================
toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
=====================================
@@ -750,8 +750,27 @@ class _RFPHelper {
});
}
+ // We will attach this method to each browser window. When called
+ // it will instantly resize the window to exactly fit the selected
+ // (possibly letterboxed) browser.
+ shrinkToLetterbox() {
+ let { selectedBrowser } = this.gBrowser;
+ let stack = selectedBrowser.closest(".browserStack");
+ const outer = stack.getBoundingClientRect();
+ const inner = selectedBrowser.getBoundingClientRect();
+ this.resizeBy(inner.width - outer.width, inner.height - outer.height);
+ }
+
+ _onWindowDoubleClick(e) {
+ if (e.target.classList.contains("browserStack")) {
+ e.currentTarget.shrinkToLetterbox();
+ }
+ }
+
_attachWindow(aWindow) {
aWindow.addEventListener("sizemodechange", windowResizeHandler);
+ aWindow.shrinkToLetterbox = this.shrinkToLetterbox;
+ aWindow.addEventListener("dblclick", this._onWindowDoubleClick);
aWindow.gBrowser.addTabsProgressListener(this);
aWindow.addEventListener("TabOpen", this);
const resizeObserver = (aWindow._rfpResizeObserver =
@@ -783,9 +802,12 @@ class _RFPHelper {
let browser = tab.linkedBrowser;
this._resetContentSize(browser);
}
+ aWindow.removeEventListener("dblclick", this._onWindowDoubleClick);
+ delete aWindow.shrinkToLetterbox;
aWindow.removeEventListener("sizemodechange", windowResizeHandler);
}
+
_handleDOMWindowOpened(win) {
let self = this;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/aefa5f3…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/aefa5f3…
You're receiving this email because of your account on gitlab.torproject.org.