Ticket #13575: 0002-Bug-13575-Disable-randomised-Firefox-HTTP-cache-deca.patch

File 0002-Bug-13575-Disable-randomised-Firefox-HTTP-cache-deca.patch, 1.4 KB (added by ffmancera, 16 months ago)
  • browser/app/profile/000-tor-browser.js

    From 6e824200ddc992e3efde36686fd4253a88f7213d Mon Sep 17 00:00:00 2001
    From: Fernando Fernandez Mancera <ffmancera@riseup.net>
    Date: Sat, 20 Jan 2018 21:54:00 +0100
    Subject: [PATCH] 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 32922418b12f..e6ac9e45e3a1 100644
    a b pref("media.webspeech.synth.enabled", false); // Bug 10283: Disable SpeechSynthe 
    177177pref("dom.webaudio.enabled", false); // Bug 13017: Disable Web Audio API
    178178pref("dom.maxHardwareConcurrency", 1); // Bug 21675: Spoof single-core cpu
    179179pref("dom.w3c_touch_events.enabled", 0); // Bug 10286: Always disable Touch API
     180// Disable randomised Firefox HTTP cache decay user test groups (Bug: 13575)
     181pref("browser.cache.frecency_experiment", -1);
     182
    180183
    181184// Third party stuff
    182185pref("privacy.firstparty.isolate", true); // Always enforce first party isolation