[tbb-commits] [tor-browser/tor-browser-52.6.0esr-8.0-2] Bug 13575: Disable randomised Firefox HTTP cache decay user tests.

gk at torproject.org gk at torproject.org
Fri Feb 2 08:32:59 UTC 2018


commit f6d6512bf85d964fa5a470f2528042c527523a34
Author: Fernando Fernandez Mancera <ffmancera at riseup.net>
Date:   Sat Jan 20 21:54:00 2018 +0100

    Bug 13575: Disable randomised Firefox HTTP cache decay user tests.
    
    Mozilla's experiment shouldn't be collecting any data on our users. If
    "browser.cache.frecency_experiment" is not set in firefox.js to "-1" it will
    default to "0" and then it is randomised between "1" and "4" inclusive, setting
    different HTTP cache decay times for the four groups.
---
 browser/app/profile/000-tor-browser.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/browser/app/profile/000-tor-browser.js b/browser/app/profile/000-tor-browser.js
index 1302d2e2d6be..ca27504e4b7d 100644
--- a/browser/app/profile/000-tor-browser.js
+++ b/browser/app/profile/000-tor-browser.js
@@ -179,6 +179,9 @@ pref("media.webspeech.synth.enabled", false); // Bug 10283: Disable SpeechSynthe
 pref("dom.webaudio.enabled", false); // Bug 13017: Disable Web Audio API
 pref("dom.maxHardwareConcurrency", 1); // Bug 21675: Spoof single-core cpu
 pref("dom.w3c_touch_events.enabled", 0); // Bug 10286: Always disable Touch API
+// Disable randomised Firefox HTTP cache decay user test groups (Bug: 13575)
+pref("browser.cache.frecency_experiment", -1);
+
 
 // Third party stuff
 pref("privacy.firstparty.isolate", true); // Always enforce first party isolation



More information about the tbb-commits mailing list