richard pushed to branch tor-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
1d7a2112 by Pier Angelo Vendrame at 2023-09-28T18:38:11+02:00
fixup! Bug 40933: Add tor-launcher functionality
Bug 42129: Do not prompt to restart Tor if we could not connect to the
control port but we were asked not to start it.
- - - - -
1 changed file:
- toolkit/components/tor-launcher/TorProviderBuilder.sys.mjs
Changes:
=====================================
toolkit/components/tor-launcher/TorProviderBuilder.sys.mjs
=====================================
@@ -125,6 +125,11 @@ export class TorProviderBuilder {
*/
static async firstWindowLoaded() {
// FIXME: Just integrate this with the about:torconnect or about:tor UI.
+ if (!lazy.TorLauncherUtil.shouldStartAndOwnTor) {
+ // If we are not managing the Tor daemon we cannot restart it, so just
+ // early return.
+ return;
+ }
let running = false;
try {
const provider = await this.#provider;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1d7a211…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1d7a211…
You're receiving this email because of your account on gitlab.torproject.org.