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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.8.0esr-14.5-1] fixup! TB 31286: Implementation of bridge, proxy, and firewall settings in...



Title: GitLab

henry pushed to branch tor-browser-128.8.0esr-14.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 4b55145d
    by Henry Wilkes at 2025-03-10T11:17:32+00:00
    fixup! TB 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
    
    TB 43547: Removing the last bridge sets the source to Invalid instead.
    

1 changed file:

Changes:

  • browser/components/torpreferences/content/connectionPane.js
    ... ... @@ -739,9 +739,16 @@ const gBridgeGrid = {
    739 739
           }
    
    740 740
           strings.splice(index, 1);
    
    741 741
     
    
    742
    -      TorSettings.changeSettings({
    
    743
    -        bridges: { source, bridge_strings: strings },
    
    744
    -      });
    
    742
    +      if (strings.length) {
    
    743
    +        TorSettings.changeSettings({
    
    744
    +          bridges: { source, bridge_strings: strings },
    
    745
    +        });
    
    746
    +      } else {
    
    747
    +        // Remove all bridges and disable.
    
    748
    +        TorSettings.changeSettings({
    
    749
    +          bridges: { source: TorBridgeSource.Invalid },
    
    750
    +        });
    
    751
    +      }
    
    745 752
         });
    
    746 753
       },
    
    747 754
     
    

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