[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-91.2.0esr-11.0-1] fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser



commit b41844cf612c84dfb64719f83c913e4548b3c57d
Author: Matthew Finkel <sysrqb@xxxxxxxxxxxxxx>
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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits