[tbb-commits] [tor-browser/tor-browser-91.2.0esr-11.0-1] fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
sysrqb at torproject.org
sysrqb at torproject.org
Wed Oct 6 13:32:12 UTC 2021
commit b41844cf612c84dfb64719f83c913e4548b3c57d
Author: Matthew Finkel <sysrqb at torproject.org>
Date: Thu Sep 30 21:34:14 2021 +0000
fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
---
browser/components/urlbar/UrlbarInput.jsm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browser/components/urlbar/UrlbarInput.jsm b/browser/components/urlbar/UrlbarInput.jsm
index bab9bf1ad2b7..e7ab9db0a66c 100644
--- a/browser/components/urlbar/UrlbarInput.jsm
+++ b/browser/components/urlbar/UrlbarInput.jsm
@@ -32,7 +32,7 @@ function maybeUpdateOpenLocationForTorConnect(openUILinkWhere, currentURI, desti
} catch (e) {
// swallow exception and fall through returning original so we don't accidentally break
// anything if an exception is thrown
- console.log(e? e.message : e);
+ console.log(e?.message ? e.message : e);
}
return openUILinkWhere;
More information about the tbb-commits
mailing list