[tor-commits] [tor-browser] branch tor-browser-91.13.0esr-11.5-1 updated: fixup! Bug 25658: Replace security slider with security level UI
gitolite role
git at cupani.torproject.org
Fri Nov 18 15:22:27 UTC 2022
This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch tor-browser-91.13.0esr-11.5-1
in repository tor-browser.
The following commit(s) were added to refs/heads/tor-browser-91.13.0esr-11.5-1 by this push:
new b6010b1466c9 fixup! Bug 25658: Replace security slider with security level UI
b6010b1466c9 is described below
commit b6010b1466c962d12c457f3939bad562e5b2d6d1
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Fri Nov 18 16:16:32 2022 +0100
fixup! Bug 25658: Replace security slider with security level UI
The preference observers were still observing the extensions.torbutton.
branch, but they should observe browser.security_level.
While the security level was updated, the UI was not updated correctly.
---
browser/components/securitylevel/content/securityLevel.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/browser/components/securitylevel/content/securityLevel.js b/browser/components/securitylevel/content/securityLevel.js
index aeb810169abc..e68b9c778703 100644
--- a/browser/components/securitylevel/content/securityLevel.js
+++ b/browser/components/securitylevel/content/securityLevel.js
@@ -116,7 +116,7 @@ const SecurityLevelButton = {
this._populateXUL(button);
this._configUIFromPrefs(button);
- this._securityPrefsBranch = Services.prefs.getBranch("extensions.torbutton.");
+ this._securityPrefsBranch = Services.prefs.getBranch("browser.security_level.");
this._securityPrefsBranch.addObserver("", this, false);
CustomizableUI.addListener(this);
@@ -287,7 +287,7 @@ const SecurityLevelPanel = {
},
init : function() {
- this._securityPrefsBranch = Services.prefs.getBranch("extensions.torbutton.");
+ this._securityPrefsBranch = Services.prefs.getBranch("browser.security_level.");
this._securityPrefsBranch.addObserver("", this, false);
},
@@ -467,7 +467,7 @@ const SecurityLevelPreferences =
this._configUIFromPrefs();
// register for pref chagnes
- this._securityPrefsBranch = Services.prefs.getBranch("extensions.torbutton.");
+ this._securityPrefsBranch = Services.prefs.getBranch("browser.security_level.");
this._securityPrefsBranch.addObserver("", this, false);
},
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list