Pier Angelo Vendrame pushed to branch tor-browser-156.0a1-17.0-2 at The Tor Project / Applications / Tor Browser
Commits:
-
7adda3d1
by Neel Chauhan at 2026-11-11T17:49:01+01:00
3 changed files:
- toolkit/components/tor-launcher/TorProvider.sys.mjs
- toolkit/components/tor-launcher/TorProviderBase.sys.mjs
- toolkit/components/tor-launcher/TorProviderMock.sys.mjs
Changes:
| ... | ... | @@ -431,21 +431,6 @@ export class TorProvider extends TorProviderBase { |
| 431 | 431 | await this.#controller.newnym();
|
| 432 | 432 | }
|
| 433 | 433 | |
| 434 | - /**
|
|
| 435 | - * Get the bridges Tor has been configured with.
|
|
| 436 | - *
|
|
| 437 | - * @returns {Bridge[]} The configured bridges
|
|
| 438 | - */
|
|
| 439 | - async getBridges() {
|
|
| 440 | - // Ideally, we would not need this function, because we should be the one
|
|
| 441 | - // setting them with TorSettings. However, TorSettings is not notified of
|
|
| 442 | - // change of settings. So, asking tor directly with the control connection
|
|
| 443 | - // is the most reliable way of getting the configured bridges, at the
|
|
| 444 | - // moment. Also, we are using this for the circuit display, which should
|
|
| 445 | - // work also when we are not configuring the tor daemon, but just using it.
|
|
| 446 | - return this.#controller.getBridges();
|
|
| 447 | - }
|
|
| 448 | - |
|
| 449 | 434 | /**
|
| 450 | 435 | * Get the configured pluggable transports.
|
| 451 | 436 | *
|
| ... | ... | @@ -174,10 +174,6 @@ export class TorProviderBase { |
| 174 | 174 | throw new Error("newnym not implemented.");
|
| 175 | 175 | }
|
| 176 | 176 | |
| 177 | - async getBridges() {
|
|
| 178 | - throw new Error("getBridges not implemented.");
|
|
| 179 | - }
|
|
| 180 | - |
|
| 181 | 177 | async getPluggableTransports() {
|
| 182 | 178 | throw new Error("getPluggableTransports not implemented.");
|
| 183 | 179 | }
|
| ... | ... | @@ -79,10 +79,6 @@ export class TorProviderMock extends TorProviderBase { |
| 79 | 79 | |
| 80 | 80 | async newnym() {}
|
| 81 | 81 | |
| 82 | - async getBridges() {
|
|
| 83 | - return [];
|
|
| 84 | - }
|
|
| 85 | - |
|
| 86 | 82 | async getPluggableTransports() {
|
| 87 | 83 | return [];
|
| 88 | 84 | }
|