[tor-commits] [torbutton/master] Bug #3960: Don't disable zoom.siteSpecific on TBB

mikeperry at torproject.org mikeperry at torproject.org
Thu Sep 8 04:59:25 UTC 2011


commit 20cb5232a2b76ab1edd7991127fb0a4df440bb28
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Wed Sep 7 21:58:09 2011 -0700

    Bug #3960: Don't disable zoom.siteSpecific on TBB
    
    Bug 3229's fix no longer requires us to disable this pref
---
 src/chrome/content/torbutton.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index b6f7f3b..3998770 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -1699,8 +1699,10 @@ function torbutton_update_status(mode, force_update) {
     torbutton_setBoolPref("browser.cache.offline.enable", "offline_cache",
             !mode, mode, changed);
 
-    torbutton_setBoolPref("browser.zoom.siteSpecific", "zoom_specific",
+    if (!m_tb_tbb) {
+      torbutton_setBoolPref("browser.zoom.siteSpecific", "zoom_specific",
             !mode, mode, changed);
+    }
 
     // Disable safebrowsing in Tor for FF2. It fetches some info in 
     // cleartext with no HMAC (Firefox Bug 360387)



More information about the tor-commits mailing list