Bug 1514031 - Record the value of some telemetry testing prefs. r=janerik
authorChris H-C <chutten@mozilla.com>
Tue, 22 Jan 2019 13:37:35 +0000
changeset 456428 cd4f8f60d10c6c35c25cef38f16cf85fcef18169
parent 456427 f62467e8bb3dae8ef681ee2067afef08dfa6c3c8
child 456429 c82f1552a5f4b8fe67fe3a9b205f46fd19601d66
push id77282
push userchutten@mozilla.com
push dateFri, 01 Feb 2019 15:10:04 +0000
treeherderautoland@cd4f8f60d10c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanerik
bugs1514031
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1514031 - Record the value of some telemetry testing prefs. r=janerik We're seeing some weirdness in the data that might be explained by these prefs being set to some non-default value. Differential Revision: https://phabricator.services.mozilla.com/D17153
toolkit/components/telemetry/app/TelemetryEnvironment.jsm
--- a/toolkit/components/telemetry/app/TelemetryEnvironment.jsm
+++ b/toolkit/components/telemetry/app/TelemetryEnvironment.jsm
@@ -266,16 +266,18 @@ const DEFAULT_ENVIRONMENT_PREFS = new Ma
   ["pdfjs.disabled", {what: RECORD_PREF_VALUE}],
   ["places.history.enabled", {what: RECORD_PREF_VALUE}],
   ["plugins.show_infobar", {what: RECORD_PREF_VALUE}],
   ["privacy.fuzzyfox.enabled", {what: RECORD_PREF_VALUE}],
   ["privacy.trackingprotection.enabled", {what: RECORD_PREF_VALUE}],
   ["privacy.donottrackheader.enabled", {what: RECORD_PREF_VALUE}],
   ["security.mixed_content.block_active_content", {what: RECORD_PREF_VALUE}],
   ["security.mixed_content.block_display_content", {what: RECORD_PREF_VALUE}],
+  ["toolkit.telemetry.testing.overridePreRelease", {what: RECORD_PREF_VALUE}],
+  ["toolkit.telemetry.overrideUpdateChannel", {what: RECORD_PREF_STATE}],
   ["xpinstall.signatures.required", {what: RECORD_PREF_VALUE}],
 ]);
 
 const LOGGER_NAME = "Toolkit.Telemetry";
 
 const PREF_BLOCKLIST_ENABLED = "extensions.blocklist.enabled";
 const PREF_DISTRIBUTION_ID = "distribution.id";
 const PREF_DISTRIBUTION_VERSION = "distribution.version";