brizental pushed to branch tor-browser-152.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: a19cb20c by Beatriz Rizental at 2026-06-11T17:35:13-03:00 fixup! TB 43817: Add tests for Tor Browser Bug 44826: Remove stream isolation same origin tests The test asserted that subdomains sharing a first-party domain (test.torproject.org, test-01.torproject.org, test-02.torproject.org) would always exit from the same IP address. This is not guaranteed: conflux builds two circuit legs for the same isolation context, and those legs may use different exit nodes. As a result, requests from the same first-party domain can appear to come from different IPs, causing the test to fail intermittently even when isolation is working correctly. - - - - - 1 changed file: - testing/tor/test_circuit_isolation.py Changes: ===================================== testing/tor/test_circuit_isolation.py ===================================== @@ -80,17 +80,3 @@ class TestCircuitIsolation(MarionetteTestCase, TorBrowserMixin): len(unique_ips), "Some of the IP addresses we got are not unique.", ) - - duplicates = set([ - self.extract_from_header("https://test-01.torproject.org"), - self.extract_from_header("https://test-02.torproject.org"), - self.extract_from_header("https://test.torproject.org"), - ]) - self.logger.info( - f"Found the following IP addresses, when checking for duplicates: {duplicates}" - ) - self.assertEqual( - len(duplicates), - 1, - "IPs that were expected to be equal are different, we might be over isolating!", - ) View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a19cb20c... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a19cb20c... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
brizental (@brizental)