[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-152.0a1-16.0-2] fixup! TB 43817: Add tests for Tor Browser



Title: GitLab

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:

Changes:

  • testing/tor/test_circuit_isolation.py
    ... ... @@ -80,17 +80,3 @@ class TestCircuitIsolation(MarionetteTestCase, TorBrowserMixin):
    80 80
                 len(unique_ips),
    
    81 81
                 "Some of the IP addresses we got are not unique.",
    
    82 82
             )
    83
    -
    
    84
    -        duplicates = set([
    
    85
    -            self.extract_from_header("https://test-01.torproject.org"),
    
    86
    -            self.extract_from_header("https://test-02.torproject.org"),
    
    87
    -            self.extract_from_header("https://test.torproject.org"),
    
    88
    -        ])
    
    89
    -        self.logger.info(
    
    90
    -            f"Found the following IP addresses, when checking for duplicates: {duplicates}"
    
    91
    -        )
    
    92
    -        self.assertEqual(
    
    93
    -            len(duplicates),
    
    94
    -            1,
    
    95
    -            "IPs that were expected to be equal are different, we might be over isolating!",
    
    96
    -        )

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx