[tbb-commits] [torbutton/master] Bug 22554: Don't set Battery API pref anymore

gk at torproject.org gk at torproject.org
Mon Jun 12 11:00:31 UTC 2017


commit f28c1252c7a84b034b35d987fdddfc39a6cf45ba
Author: Georg Koppen <gk at torproject.org>
Date:   Fri Jun 9 14:23:08 2017 +0000

    Bug 22554: Don't set Battery API pref anymore
    
    Mozilla made the Battery API chrome-only
    (https://bugzilla.mozilla.org/show_bug.cgi?id=1313580). We therefore
    don't need to take care of it anymore in Torbutton.
---
 src/chrome/content/torbutton.js    | 1 -
 src/chrome/locale/en/torbutton.dtd | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 9af7c57..2d69b0c 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -1732,7 +1732,6 @@ function torbutton_update_fingerprinting_prefs() {
 
     m_tb_prefs.setBoolPref("webgl.min_capability_mode", mode);
     m_tb_prefs.setBoolPref("webgl.disable-extensions", mode);
-    m_tb_prefs.setBoolPref("dom.battery.enabled", !mode);
     m_tb_prefs.setBoolPref("dom.network.enabled", !mode);
     m_tb_prefs.setBoolPref("dom.enable_performance", !mode);
     m_tb_prefs.setBoolPref("plugin.expose_full_path", !mode);
diff --git a/src/chrome/locale/en/torbutton.dtd b/src/chrome/locale/en/torbutton.dtd
index 6bc7141..608947c 100644
--- a/src/chrome/locale/en/torbutton.dtd
+++ b/src/chrome/locale/en/torbutton.dtd
@@ -30,7 +30,7 @@
 <!ENTITY torbutton.prefs.restrict_thirdparty_tooltip "Keep this box checked to prevent various browser features from being abused to track you as you browse the web. Modified features include blob URLs, broadcast channels, the browser cache, cookies, favicons, HTTP Auth headers, link preconnects, localStorage, mediaSource URLs, OCSP requests, SharedWorkers, and TLS session tickets.">
 <!ENTITY torbutton.prefs.resist_fingerprinting "Change details that distinguish you from other Tor Browser users">
 <!ENTITY torbutton.prefs.resist_fingerprinting.accesskey "F">
-<!ENTITY torbutton.prefs.resist_fingerprinting_tooltip "Keep this box checked to hide things from websites that could be unique about you, including your battery status, computer performance, keyboard layout, locale, the location of installed plugins, the list of installed plugins, your network status, screen orientation, screen size, site-specific zoom levels, supported file types, system colors, and WebGL capabilities.">
+<!ENTITY torbutton.prefs.resist_fingerprinting_tooltip "Keep this box checked to hide things from websites that could be unique about you, including your computer performance, keyboard layout, locale, the location of installed plugins, the list of installed plugins, your network status, screen orientation, screen size, site-specific zoom levels, supported file types, system colors, and WebGL capabilities.">
 <!ENTITY torbutton.prefs.sec_caption "Security Level">
 <!ENTITY torbutton.prefs.sec_caption_tooltip "The Security Slider lets you disable certain browser features that may make your browser more vulnerable to hacking attempts.">
 <!ENTITY torbutton.prefs.sec_low "Low (default)">



More information about the tbb-commits mailing list