[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbutton/master] Bug 27290: Remove WebGL pref for min capability mode



commit 7d98f3bd4348aa79efe040118763c77c84745173
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
Date:   Tue Dec 4 13:53:12 2018 +0000

    Bug 27290: Remove WebGL pref for min capability mode
    
    In Mozilla Bug 1217290, a new WebGL mode was introduced specifically
    for `privacy.resistFingerprinting` set to `true`, which is supposed to
    give most machines the same WebGL profile.
    
    Previously, `webgl.min_capability_mode` was used for this purpose,
    but now that pref is intended strictly for browser testing and it
    overrides the `privacy.resistFingerprinting` setting. Furthermore,
    `webgl.min_capability_mode` can cause WebGL to fail unnecessarily.
    
    So we should not be enabling `webgl.min_capability_mode` any more in
    Tor Browser. This patch is the complement to a tor-browser patch
    which both remove that preference setting so it reverts to Firefox's
    default value (false).
---
 src/chrome/content/torbutton.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 8bd847f9..6568570c 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -1551,7 +1551,6 @@ function torbutton_update_disk_prefs() {
 function torbutton_update_fingerprinting_prefs() {
     var mode = m_tb_prefs.getBoolPref("privacy.resistFingerprinting");
 
-    m_tb_prefs.setBoolPref("webgl.min_capability_mode", mode);
     m_tb_prefs.setBoolPref("webgl.disable-extensions", mode);
     m_tb_prefs.setBoolPref("dom.network.enabled", !mode);
     m_tb_prefs.setBoolPref("dom.enable_performance", !mode);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits