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/56ae0df...