services/healthreport/healthreport-prefs.js

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 #filter substitution
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 pref("datareporting.healthreport.currentDaySubmissionFailureCount", 0);
michael@0 7 pref("datareporting.healthreport.documentServerURI", "https://fhr.data.mozilla.com/");
michael@0 8 pref("datareporting.healthreport.documentServerNamespace", "metrics");
michael@0 9 pref("datareporting.healthreport.infoURL", "https://www.mozilla.org/legal/privacy/firefox.html#health-report");
michael@0 10 pref("datareporting.healthreport.logging.consoleEnabled", true);
michael@0 11 pref("datareporting.healthreport.logging.consoleLevel", "Warn");
michael@0 12 pref("datareporting.healthreport.logging.dumpEnabled", false);
michael@0 13 pref("datareporting.healthreport.logging.dumpLevel", "Debug");
michael@0 14 pref("datareporting.healthreport.lastDataSubmissionFailureTime", "0");
michael@0 15 pref("datareporting.healthreport.lastDataSubmissionRequestedTime", "0");
michael@0 16 pref("datareporting.healthreport.lastDataSubmissionSuccessfulTime", "0");
michael@0 17 pref("datareporting.healthreport.nextDataSubmissionTime", "0");
michael@0 18 pref("datareporting.healthreport.pendingDeleteRemoteData", false);
michael@0 19
michael@0 20 // Health Report is enabled by default on all channels.
michael@0 21 pref("datareporting.healthreport.uploadEnabled", true);
michael@0 22
michael@0 23 pref("datareporting.healthreport.service.enabled", true);
michael@0 24 pref("datareporting.healthreport.service.loadDelayMsec", 10000);
michael@0 25 pref("datareporting.healthreport.service.loadDelayFirstRunMsec", 60000);
michael@0 26
michael@0 27 pref("datareporting.healthreport.service.providerCategories",
michael@0 28 #if MOZ_UPDATE_CHANNEL == release
michael@0 29 "healthreport-js-provider-default"
michael@0 30 #elif MOZ_UPDATE_CHANNEL == default
michael@0 31 "healthreport-js-provider-default"
michael@0 32 #else
michael@0 33 "healthreport-js-provider-default,healthreport-js-provider-@MOZ_UPDATE_CHANNEL@"
michael@0 34 #endif
michael@0 35 );
michael@0 36
michael@0 37 pref("datareporting.healthreport.about.reportUrl", "https://fhr.cdn.mozilla.net/%LOCALE%/");

mercurial