lists.torproject.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

tbb-commits

Thread Start a new thread
Threads by month
  • ----- 2026 -----
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2015 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2014 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
tbb-commits@lists.torproject.org

  • 1 participants
  • 20112 discussions
[Git][tpo/applications/mullvad-browser-update-responses][main] 4 commits: alpha: new version, 15.0a1 (linux-x86_64)
by ma1 (@ma1) 30 Jul '25

30 Jul '25
ma1 pushed to branch main at The Tor Project / Applications / mullvad-browser-update-responses Commits: 22ef5607 by hackademix at 2025-07-30T16:16:14+02:00 alpha: new version, 15.0a1 (linux-x86_64) - - - - - 39c1e506 by hackademix at 2025-07-30T16:16:14+02:00 alpha: new version, 15.0a1 (macos) - - - - - 6087003e by hackademix at 2025-07-30T16:16:15+02:00 alpha: new version, 15.0a1 (windows-x86_64) - - - - - df559cee by hackademix at 2025-07-30T16:16:15+02:00 alpha: new version, 15.0a1 - - - - - 31 changed files: - update_1/alpha/download-linux-x86_64.json - update_1/alpha/download-macos.json - update_1/alpha/download-windows-x86_64.json - update_1/alpha/downloads.json - update_1/alpha/linux-x86_64/.htaccess - − update_1/alpha/linux-x86_64/14.5a3-14.5a6-linux-x86_64.xml - − update_1/alpha/linux-x86_64/14.5a4-14.5a6-linux-x86_64.xml - − update_1/alpha/linux-x86_64/14.5a5-14.5a6-linux-x86_64.xml - − update_1/alpha/linux-x86_64/14.5a6-linux-x86_64.xml - + update_1/alpha/linux-x86_64/update-14.5a4-15.0a1-linux-x86_64.xml - + update_1/alpha/linux-x86_64/update-14.5a5-15.0a1-linux-x86_64.xml - + update_1/alpha/linux-x86_64/update-14.5a6-15.0a1-linux-x86_64.xml - + update_1/alpha/linux-x86_64/update-15.0a1-linux-x86_64.xml - update_1/alpha/macos/.htaccess - − update_1/alpha/macos/14.5a3-14.5a6-macos.xml - − update_1/alpha/macos/14.5a4-14.5a6-macos.xml - − update_1/alpha/macos/14.5a5-14.5a6-macos.xml - − update_1/alpha/macos/14.5a6-macos.xml - + update_1/alpha/macos/update-14.5a4-15.0a1-macos.xml - + update_1/alpha/macos/update-14.5a5-15.0a1-macos.xml - + update_1/alpha/macos/update-14.5a6-15.0a1-macos.xml - + update_1/alpha/macos/update-15.0a1-macos.xml - update_1/alpha/windows-x86_64/.htaccess - − update_1/alpha/windows-x86_64/14.5a3-14.5a6-windows-x86_64.xml - − update_1/alpha/windows-x86_64/14.5a4-14.5a6-windows-x86_64.xml - − update_1/alpha/windows-x86_64/14.5a5-14.5a6-windows-x86_64.xml - − update_1/alpha/windows-x86_64/14.5a6-windows-x86_64.xml - + update_1/alpha/windows-x86_64/update-14.5a4-15.0a1-windows-x86_64.xml - + update_1/alpha/windows-x86_64/update-14.5a5-15.0a1-windows-x86_64.xml - + update_1/alpha/windows-x86_64/update-14.5a6-15.0a1-windows-x86_64.xml - + update_1/alpha/windows-x86_64/update-15.0a1-windows-x86_64.xml The diff was not included because it is too large. View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser-update-respo… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser-update-respo… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser-update-responses][main] 6 commits: alpha: new version, 15.0a1 (linux-i686)
by morgan (@morgan) 30 Jul '25

30 Jul '25
morgan pushed to branch main at The Tor Project / Applications / Tor Browser update responses Commits: 7908070f by Morgan at 2025-07-30T13:16:44+00:00 alpha: new version, 15.0a1 (linux-i686) - - - - - 0ea6b430 by Morgan at 2025-07-30T13:16:44+00:00 alpha: new version, 15.0a1 (linux-x86_64) - - - - - 55e0aa50 by Morgan at 2025-07-30T13:16:44+00:00 alpha: new version, 15.0a1 (macos) - - - - - ce54652c by Morgan at 2025-07-30T13:16:45+00:00 alpha: new version, 15.0a1 (windows-i686) - - - - - 1d5dd3c0 by Morgan at 2025-07-30T13:16:45+00:00 alpha: new version, 15.0a1 (windows-x86_64) - - - - - 9029c1b9 by Morgan at 2025-07-30T13:16:45+00:00 alpha: new version, 15.0a1 - - - - - 47 changed files: - update_3/alpha/download-android-aarch64.json - update_3/alpha/download-android-armv7.json - update_3/alpha/download-android-x86.json - update_3/alpha/download-android-x86_64.json - update_3/alpha/download-linux-i686.json - update_3/alpha/download-linux-x86_64.json - update_3/alpha/download-macos.json - update_3/alpha/download-windows-i686.json - update_3/alpha/download-windows-x86_64.json - update_3/alpha/downloads.json - update_3/alpha/linux-i686/.htaccess - update_3/alpha/linux-i686/14.5a3-14.5a6-linux-i686.xml → update_3/alpha/linux-i686/update-14.5a4-15.0a1-linux-i686.xml - update_3/alpha/linux-i686/14.5a4-14.5a6-linux-i686.xml → update_3/alpha/linux-i686/update-14.5a5-15.0a1-linux-i686.xml - update_3/alpha/linux-i686/14.5a5-14.5a6-linux-i686.xml → update_3/alpha/linux-i686/update-14.5a6-15.0a1-linux-i686.xml - update_3/alpha/linux-i686/14.5a6-linux-i686.xml → update_3/alpha/linux-i686/update-15.0a1-linux-i686.xml - update_3/alpha/linux-x86_64/.htaccess - update_3/alpha/linux-x86_64/14.5a3-14.5a6-linux-x86_64.xml → update_3/alpha/linux-x86_64/update-14.5a4-15.0a1-linux-x86_64.xml - update_3/alpha/linux-x86_64/14.5a4-14.5a6-linux-x86_64.xml → update_3/alpha/linux-x86_64/update-14.5a5-15.0a1-linux-x86_64.xml - update_3/alpha/linux-x86_64/14.5a5-14.5a6-linux-x86_64.xml → update_3/alpha/linux-x86_64/update-14.5a6-15.0a1-linux-x86_64.xml - update_3/alpha/linux-x86_64/14.5a6-linux-x86_64.xml → update_3/alpha/linux-x86_64/update-15.0a1-linux-x86_64.xml - update_3/alpha/macos/.htaccess - − update_3/alpha/macos/14.5a3-14.5a6-macos.xml - − update_3/alpha/macos/14.5a4-14.5a6-macos.xml - − update_3/alpha/macos/14.5a5-14.5a6-macos.xml - − update_3/alpha/macos/14.5a6-macos.xml - + update_3/alpha/macos/update-14.5a4-15.0a1-macos.xml - + update_3/alpha/macos/update-14.5a5-15.0a1-macos.xml - + update_3/alpha/macos/update-14.5a6-15.0a1-macos.xml - + update_3/alpha/macos/update-15.0a1-macos.xml - update_3/alpha/windows-i686/.htaccess - − update_3/alpha/windows-i686/14.5a3-14.5a6-windows-i686.xml - − update_3/alpha/windows-i686/14.5a4-14.5a6-windows-i686.xml - − update_3/alpha/windows-i686/14.5a5-14.5a6-windows-i686.xml - − update_3/alpha/windows-i686/14.5a6-windows-i686.xml - + update_3/alpha/windows-i686/update-14.5a4-15.0a1-windows-i686.xml - + update_3/alpha/windows-i686/update-14.5a5-15.0a1-windows-i686.xml - + update_3/alpha/windows-i686/update-14.5a6-15.0a1-windows-i686.xml - + update_3/alpha/windows-i686/update-15.0a1-windows-i686.xml - update_3/alpha/windows-x86_64/.htaccess - − update_3/alpha/windows-x86_64/14.5a3-14.5a6-windows-x86_64.xml - − update_3/alpha/windows-x86_64/14.5a4-14.5a6-windows-x86_64.xml - − update_3/alpha/windows-x86_64/14.5a5-14.5a6-windows-x86_64.xml - − update_3/alpha/windows-x86_64/14.5a6-windows-x86_64.xml - + update_3/alpha/windows-x86_64/update-14.5a4-15.0a1-windows-x86_64.xml - + update_3/alpha/windows-x86_64/update-14.5a5-15.0a1-windows-x86_64.xml - + update_3/alpha/windows-x86_64/update-14.5a6-15.0a1-windows-x86_64.xml - + update_3/alpha/windows-x86_64/update-15.0a1-windows-x86_64.xml The diff was not included because it is too large. View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-update-responses… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-update-responses… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser] Pushed new branch tor-browser-141.0a1-16.0-2
by brizental (@brizental) 30 Jul '25

30 Jul '25
brizental pushed new branch tor-browser-141.0a1-16.0-2 at The Tor Project / Applications / Tor Browser -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/tor-brows… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser-build][main] Bug 41527: Update libdmg-hfsplus and enable LZMA compression on dmgs.
by Pier Angelo Vendrame (@pierov) 30 Jul '25

30 Jul '25
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build Commits: 0bd556ab by Pier Angelo Vendrame at 2025-07-30T13:58:02+02:00 Bug 41527: Update libdmg-hfsplus and enable LZMA compression on dmgs. - - - - - 4 changed files: - projects/browser/ddmg.sh - projects/libdmg-hfsplus/config - tools/signing/ddmg.sh - tools/signing/gatekeeper-bundling.sh Changes: ===================================== projects/browser/ddmg.sh ===================================== @@ -37,7 +37,7 @@ hfsplus "$hfsfile" symlink /Applications /Applications # Show the volume icon hfsplus "$hfsfile" attr / C -dmg dmg "$hfsfile" [% c('dmg_out', { error_if_undef => 1 }) %] +dmg dmg --compression lzma --level 5 --run-sectors 2048 "$hfsfile" [% c('dmg_out', { error_if_undef => 1 }) %] popd rm -Rf "$dmg_tmpdir" ===================================== projects/libdmg-hfsplus/config ===================================== @@ -1,7 +1,7 @@ # vim: filetype=yaml sw=2 version: '[% c("abbrev") %]' git_url: https://github.com/mozilla/libdmg-hfsplus -git_hash: a0a959bd25370c1c0a00c9ec525e3e78285adbf9 +git_hash: d6287b5afc2406b398de42f74eba432f2123b937 filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]' container: use_container: 1 @@ -10,6 +10,7 @@ var: - build-essential - zlib1g-dev - libbz2-dev + - liblzma-dev input_files: - project: container-image - name: cmake ===================================== tools/signing/ddmg.sh ===================================== @@ -57,7 +57,7 @@ hfsplus "$hfsfile" symlink /Applications /Applications # Show the volume icon hfsplus "$hfsfile" attr / C -dmg dmg "$hfsfile" "$dest_file" +dmg dmg --compression lzma --level 5 --run-sectors 2048 "$hfsfile" "$dest_file" echo "Finished: " $(basename $dest_file) ===================================== tools/signing/gatekeeper-bundling.sh ===================================== @@ -39,7 +39,7 @@ test -f $faketime_path || \ exit_error "$faketime_path is missing" test -d $macos_stapled_dir || \ exit_error "The stapled macos zip files should be placed in directory $macos_stapled_dir" -libdmg_file="$script_dir/../../out/libdmg-hfsplus/libdmg-hfsplus-a0a959bd2537-f2819c.tar.zst" +libdmg_file="$script_dir/../../out/libdmg-hfsplus/libdmg-hfsplus-d6287b5afc24-6f206c.tar.zst" test -f "$libdmg_file" || \ exit_error "$libdmg_file is missing." \ "You can build it with:" \ View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/mullvad-browser][mullvad-browser-140.1.0esr-15.0-1] fixup! MB 37: Customization for the about dialog
by Pier Angelo Vendrame (@pierov) 30 Jul '25

30 Jul '25
Pier Angelo Vendrame pushed to branch mullvad-browser-140.1.0esr-15.0-1 at The Tor Project / Applications / Mullvad Browser Commits: 1a5441f6 by Pier Angelo Vendrame at 2025-07-30T11:53:50+02:00 fixup! MB 37: Customization for the about dialog MB 451: The restart to apply button doesn't work - - - - - 1 changed file: - browser/base/content/aboutDialog.xhtml Changes: ===================================== browser/base/content/aboutDialog.xhtml ===================================== @@ -104,12 +104,10 @@ <label id="version" class="update"/> <label id="releasenotes" is="text-link" hidden="true" data-l10n-id="releaseNotes-link"/> </hbox> -#ifndef MULLVAD_BROWSER - <description class="text-blurb"> + <description class="text-blurb" hidden="true"> <label id="aboutDialogHelpLink" is="text-link" data-l10n-id="aboutdialog-help-user"/> <label id="submit-feedback" is="text-link" data-l10n-id="aboutdialog-submit-feedback"/> </description> -#endif </vbox> #endif </hbox> View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/1a5… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/1a5… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/mullvad-browser][mullvad-browser-140.1.0esr-15.0-1] fixup! BB 43322: Customize the font visibility lists.
by Pier Angelo Vendrame (@pierov) 30 Jul '25

30 Jul '25
Pier Angelo Vendrame pushed to branch mullvad-browser-140.1.0esr-15.0-1 at The Tor Project / Applications / Mullvad Browser Commits: ac53dfbf by Pier Angelo Vendrame at 2025-07-30T11:33:34+02:00 fixup! BB 43322: Customize the font visibility lists. BB 44046: Replace the macro we use in StandardFonts-win10.inc. For consistency with other changes in the same commit, we should use BASE_BROWSER_VERSION rather than BASE_BROWSER_UPDATE. - - - - - 1 changed file: - gfx/thebes/StandardFonts-win10.inc Changes: ===================================== gfx/thebes/StandardFonts-win10.inc ===================================== @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef BASE_BROWSER_UPDATE +#ifndef BASE_BROWSER_VERSION // List of standard font families installed as part of Windows 10 // from https://docs.microsoft.com/en-us/typography/fonts/windows_10_font_list // TODO: check whether we need to list legacy styled family names like "... Light". View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/ac5… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/ac5… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][base-browser-140.1.0esr-15.0-1] fixup! BB 43322: Customize the font visibility lists.
by Pier Angelo Vendrame (@pierov) 30 Jul '25

30 Jul '25
Pier Angelo Vendrame pushed to branch base-browser-140.1.0esr-15.0-1 at The Tor Project / Applications / Tor Browser Commits: 6b8311e7 by Pier Angelo Vendrame at 2025-07-30T11:32:07+02:00 fixup! BB 43322: Customize the font visibility lists. BB 44046: Replace the macro we use in StandardFonts-win10.inc. For consistency with other changes in the same commit, we should use BASE_BROWSER_VERSION rather than BASE_BROWSER_UPDATE. - - - - - 1 changed file: - gfx/thebes/StandardFonts-win10.inc Changes: ===================================== gfx/thebes/StandardFonts-win10.inc ===================================== @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef BASE_BROWSER_UPDATE +#ifndef BASE_BROWSER_VERSION // List of standard font families installed as part of Windows 10 // from https://docs.microsoft.com/en-us/typography/fonts/windows_10_font_list // TODO: check whether we need to list legacy styled family names like "... Light". View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/6b8311e… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/6b8311e… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][tor-browser-140.1.0esr-15.0-1] fixup! BB 43322: Customize the font visibility lists.
by Pier Angelo Vendrame (@pierov) 30 Jul '25

30 Jul '25
Pier Angelo Vendrame pushed to branch tor-browser-140.1.0esr-15.0-1 at The Tor Project / Applications / Tor Browser Commits: e4ee090b by Pier Angelo Vendrame at 2025-07-30T10:59:35+02:00 fixup! BB 43322: Customize the font visibility lists. BB 44046: Replace the macro we use in StandardFonts-win10.inc. For consistency with other changes in the same commit, we should use BASE_BROWSER_VERSION rather than BASE_BROWSER_UPDATE. - - - - - 1 changed file: - gfx/thebes/StandardFonts-win10.inc Changes: ===================================== gfx/thebes/StandardFonts-win10.inc ===================================== @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef BASE_BROWSER_UPDATE +#ifndef BASE_BROWSER_VERSION // List of standard font families installed as part of Windows 10 // from https://docs.microsoft.com/en-us/typography/fonts/windows_10_font_list // TODO: check whether we need to list legacy styled family names like "... Light". View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e4ee090… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e4ee090… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][tor-browser-140.1.0esr-15.0-1] fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser
by henry (@henry) 29 Jul '25

29 Jul '25
henry pushed to branch tor-browser-140.1.0esr-15.0-1 at The Tor Project / Applications / Tor Browser Commits: 44539ee4 by Henry Wilkes at 2025-07-29T16:01:24+00:00 fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser TB 43832: Drop eslint-env - - - - - 1 changed file: - toolkit/components/torconnect/content/torConnectUrlbarButton.js Changes: ===================================== toolkit/components/torconnect/content/torConnectUrlbarButton.js ===================================== @@ -1,5 +1,3 @@ -/* eslint-env mozilla/browser-window */ - /** * A "Connect" button shown in the urlbar when not connected to tor and in tabs * other than about:torconnect. View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/44539ee… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/44539ee… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
[Git][tpo/applications/tor-browser][tor-browser-140.1.0esr-15.0-1] TB 43817: Add tests for Tor Browser
by brizental (@brizental) 29 Jul '25

29 Jul '25
brizental pushed to branch tor-browser-140.1.0esr-15.0-1 at The Tor Project / Applications / Tor Browser Commits: 692f39dc by Beatriz Rizental at 2025-07-29T17:03:46+02:00 TB 43817: Add tests for Tor Browser This is a catch all commits for adding any tests or testing infrastructure that doesn't obviously fit any other commit. - - - - - 3 changed files: - testing/moz.build - + testing/tor/marionette.toml - + testing/tor/test_network_check.py Changes: ===================================== testing/moz.build ===================================== @@ -17,3 +17,5 @@ DIRS += ["mozbase", "mozharness"] PERFTESTS_MANIFESTS += [ "performance/perftest.toml", ] + +MARIONETTE_MANIFESTS += ["tor/marionette.toml"] ===================================== testing/tor/marionette.toml ===================================== @@ -0,0 +1,3 @@ +[DEFAULT] + +["test_network_check.py"] ===================================== testing/tor/test_network_check.py ===================================== @@ -0,0 +1,68 @@ +from marionette_driver import By, Wait, errors +from marionette_driver.localization import L10n +from marionette_harness import MarionetteTestCase + +NETWORK_CHECK_URL = "https://check.torproject.org/" +TOR_BOOTSTRAP_TIMEOUT = 30 # 30s + +STRINGS_LOCATION = "chrome://torbutton/locale/torConnect.properties" + + +class TestNetworkCheck(MarionetteTestCase): + def setUp(self): + MarionetteTestCase.setUp(self) + + self.l10n = L10n(self.marionette) + + def attemptConnection(self, tries=1): + if tries > 3: + self.assertTrue(False, "Failed to connect to Tor after 3 attempts") + + connectBtn = self.marionette.find_element(By.ID, "connectButton") + Wait(self.marionette, timeout=10).until( + lambda _: connectBtn.is_displayed(), + message="Timed out waiting for tor connect button to show up.", + ) + connectBtn.click() + + try: + + def check(m): + if not m.get_url().startswith("about:torconnect"): + # We have finished connecting and have been redirected. + return True + + try: + heading = self.marionette.find_element(By.ID, "tor-connect-heading") + except errors.NoSuchElementException: + # Page is probably redirecting. + return False + + if heading.text not in [ + self.l10n.localize_property( + [STRINGS_LOCATION], "torConnect.torConnecting" + ), + self.l10n.localize_property( + [STRINGS_LOCATION], "torConnect.torConnected" + ), + ]: + raise ValueError("Tor connect page is not connecting or connected") + + return False + + Wait(self.marionette, timeout=TOR_BOOTSTRAP_TIMEOUT).until(check) + except (errors.TimeoutException, ValueError): + cancelBtn = self.marionette.find_element(By.ID, "cancelButton") + if cancelBtn.is_displayed(): + cancelBtn.click() + + self.attemptConnection(tries + 1) + + def test_network_check(self): + self.attemptConnection() + self.marionette.navigate(NETWORK_CHECK_URL) + self.assertRegex( + self.marionette.title, + r"^Congratulations\.", + f"{NETWORK_CHECK_URL} should have the expected title.", + ) View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/692f39d… -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/692f39d… You're receiving this email because of your account on gitlab.torproject.org.
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • ...
  • 2012
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.