[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-78.0.1esr-10.0-1] fixup! Bug 28005: Implement .onion alias urlbar rewrites
commit fe116a5e95c29b914222d8cc41b44494dfc7c49d
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
Date: Thu Jul 23 13:20:12 2020 +0200
fixup! Bug 28005: Implement .onion alias urlbar rewrites
---
browser/base/content/browser.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index 5d99785d5ec0..3f019c5f24c1 100644
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -2248,7 +2248,7 @@ var gBrowserInit = {
// [9]: allowInheritPrincipal (bool)
// [10]: csp (nsIContentSecurityPolicy)
// [11]: nsOpenWindowInfo
- // [12]: onionUrlbarRewritesAllowed
+ // [12]: onionUrlbarRewritesAllowed (bool)
let userContextId =
window.arguments[5] != undefined
? window.arguments[5]
@@ -5290,7 +5290,7 @@ var XULBrowserWindow = {
// other parts of the code (like the bookmarks UI), so we save it.
if (gBrowser.selectedBrowser.onionUrlbarRewritesAllowed) {
gBrowser.selectedBrowser.currentOnionAliasURI = OnionAliasStore.getShortURI(
- gBrowser.selectedBrowser.currentURI
+ aLocationURI
);
} else {
gBrowser.selectedBrowser.currentOnionAliasURI = null;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits