[tbb-commits] [torbutton/master] Bug 15533: Restore default security level

gk at torproject.org gk at torproject.org
Thu Apr 2 06:59:54 UTC 2015


commit 4f230f0344aa622de506766f65f4584e319ca49e
Author: Georg Koppen <gk at torproject.org>
Date:   Wed Apr 1 12:30:33 2015 +0000

    Bug 15533: Restore default security level
    
    We changed the position of the security levels ("High" is now on top
    and "Low" on bottom) but forgot to adapt the logic responsible for
    restoring the default one (i.e. "Low").
---
 src/chrome/content/preferences.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
index be77793..1ac89da 100644
--- a/src/chrome/content/preferences.js
+++ b/src/chrome/content/preferences.js
@@ -458,7 +458,7 @@ function torbutton_prefs_reset_defaults() {
 
     // Resetting the Security Slider preferences
     o_torprefs.setBoolPref('security_custom', false);
-    o_torprefs.setIntPref('security_slider', 1);
+    o_torprefs.setIntPref('security_slider', 4);
     chrome.torbutton_update_security_slider();
 
     torbutton_log(4, "Preferences reset to defaults");



More information about the tbb-commits mailing list