[tbb-commits] [tor-browser] 03/06: fixup! Bug 40926: Implemented the New Identity feature

gitolite role git at cupani.torproject.org
Mon Nov 21 13:34:39 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.4.0esr-12.0-2
in repository tor-browser.

commit c7057d8e2a0550d5c30d6eedb427c571e64c9f1f
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Thu Nov 17 18:27:44 2022 +0100

    fixup! Bug 40926: Implemented the New Identity feature
    
    Bug 41460: Renamed preferences
---
 browser/components/newidentity/content/newidentity.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/browser/components/newidentity/content/newidentity.js b/browser/components/newidentity/content/newidentity.js
index 0d5ddaa53529..cad74e9cddf9 100644
--- a/browser/components/newidentity/content/newidentity.js
+++ b/browser/components/newidentity/content/newidentity.js
@@ -162,7 +162,7 @@ XPCOMUtils.defineLazyGetter(this, "NewIdentityButton", () => {
     closeTabs() {
       logger.info("Closing tabs");
       if (
-        !Services.prefs.getBoolPref("extensions.torbutton.close_newnym", true)
+        !Services.prefs.getBoolPref("browser.new_identity.close_newnym", true)
       ) {
         logger.info("Not closing tabs");
         return;
@@ -241,7 +241,7 @@ XPCOMUtils.defineLazyGetter(this, "NewIdentityButton", () => {
     clearHTTPAuths() {
       if (
         !Services.prefs.getBoolPref(
-          "extensions.torbutton.clear_http_auth",
+          "browser.new_identity.clear_http_auth",
           true
         )
       ) {
@@ -525,7 +525,7 @@ XPCOMUtils.defineLazyGetter(this, "NewIdentityButton", () => {
         }
         newIdentityInProgress = true;
 
-        const prefConfirm = "extensions.torbutton.confirm_newnym";
+        const prefConfirm = "browser.new_identity.confirm_newnym";
         const shouldConfirm = Services.prefs.getBoolPref(prefConfirm, true);
         if (shouldConfirm) {
           // Display two buttons, both with string titles.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list