[tbb-commits] [torbutton/master] fixup! Bug 25658: Replace security slider with security level UI

gk at torproject.org gk at torproject.org
Mon Apr 1 19:04:43 UTC 2019


commit 409f01d42ffb9efc85c9245f9baa6ea1831003c2
Author: Georg Koppen <gk at torproject.org>
Date:   Mon Apr 1 13:06:47 2019 +0000

    fixup! Bug 25658: Replace security slider with security level UI
    
    Fixes #29973.
---
 src/chrome/content/torbutton.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index bd966485..f1b1dc0c 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -12,7 +12,7 @@ const {AppConstants} = ChromeUtils.import("resource://gre/modules/AppConstants.j
 let { showDialog, show_torbrowser_manual } = Cu.import("resource://torbutton/modules/utils.js", {});
 let { unescapeTorString } = Cu.import("resource://torbutton/modules/utils.js", {});
 let SecurityPrefs = Cu.import("resource://torbutton/modules/security-prefs.js", {});
-let { bindPrefAndInit, observe } = Cu.import("resource://torbutton/modules/utils.js", {});
+let { bindPrefAndInit } = Cu.import("resource://torbutton/modules/utils.js", {});
 
 const k_tb_last_browser_version_pref = "extensions.torbutton.lastBrowserVersion";
 const k_tb_browser_update_needed_pref = "extensions.torbutton.updateNeeded";
@@ -1898,8 +1898,6 @@ function torbutton_is_windowed(wind) {
     return true;
 }
 
-let stopOpenSecuritySettingsObserver;
-
 function showSecurityPreferencesPanel(chromeWindow) {
   const tabBrowser = chromeWindow.BrowserApp;
   let settingsTab = null;
@@ -1987,7 +1985,6 @@ function torbutton_new_window(event)
 function torbutton_close_window(event) {
     torbutton_window_pref_observer.unregister();
     torbutton_tor_check_observer.unregister();
-    stopOpenSecuritySettingsObserver();
 
     window.removeEventListener("sizemodechange", m_tb_resize_handler,
         false);



More information about the tbb-commits mailing list