[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.6.0esr-13.5-1] 2 commits: fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in...

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Mon Dec 18 14:10:46 UTC 2023



Pier Angelo Vendrame pushed to branch tor-browser-115.6.0esr-13.5-1 at The Tor Project / Applications / Tor Browser


Commits:
4152f12f by Henry Wilkes at 2023-12-18T10:39:56+00:00
fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

Bug 42340: Stop reading the TorBridgeChanged data argument. This was
always a string before, rather than a NodeData object.

- - - - -
3a748654 by Henry Wilkes at 2023-12-18T10:41:09+00:00
fixup! Bug 40933: Add tor-launcher functionality

Bug 42340: Stop adding #currentBridge to the TorBridgeChanged
notification data, since it is converted into a string.

- - - - -


2 changed files:

- browser/components/torpreferences/content/connectionPane.js
- toolkit/components/tor-launcher/TorProvider.sys.mjs


Changes:

=====================================
browser/components/torpreferences/content/connectionPane.js
=====================================
@@ -917,9 +917,7 @@ const gConnectionPane = (function () {
           break;
         }
         case TorProviderTopics.BridgeChanged: {
-          if (data?.fingerprint !== this._currentBridgeId) {
-            this._checkConnectedBridge();
-          }
+          this._checkConnectedBridge();
           break;
         }
         case "intl:app-locales-changed": {


=====================================
toolkit/components/tor-launcher/TorProvider.sys.mjs
=====================================
@@ -1009,11 +1009,7 @@ export class TorProvider {
         notify = true;
       }
       if (notify) {
-        Services.obs.notifyObservers(
-          null,
-          TorProviderTopics.BridgeChanged,
-          this.#currentBridge
-        );
+        Services.obs.notifyObservers(null, TorProviderTopics.BridgeChanged);
       }
     }
   }



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/56ae0dfce8c30c43d5316ad1f4aff638dee5f9dc...3a748654f9af7e6458e21a701e53246854c698e1

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/56ae0dfce8c30c43d5316ad1f4aff638dee5f9dc...3a748654f9af7e6458e21a701e53246854c698e1
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20231218/36f75dd3/attachment-0001.htm>


More information about the tor-commits mailing list