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

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

    From 97a0a46d7067828c05300ba06153ac9f01dfd3c8 Mon Sep 17 00:00:00 2001
    From: Fernando Fernandez Mancera <ffmancera@riseup.net>
    Date: Sat, 20 Jan 2018 21:32: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..363ea1556d59 100644
    a b pref("dom.securecontext.whitelist_onions", true); 
    363363#expand pref("torbrowser.version", __TOR_BROWSER_VERSION__);
    364364#endif
    365365
     366// Disable randomised Firefox HTTP cache decay user test groups (Bug: 13575)
     367pref("browser.cache.frecency_experiment", -1);
     368
    366369// If we are bundling fonts, whitelist those bundled fonts, and restrict system fonts to a selection.
    367370
    368371#ifdef MOZ_BUNDLED_FONTS