Bug 1514031 - Record the value of some telemetry testing prefs. r=janerik a=lizzard
authorChris H-C <chutten@mozilla.com>
Tue, 22 Jan 2019 13:37:35 +0000
changeset 515839 476f22e149ba9a9eef995cf3d90f42e44f82e5c4
parent 515838 d3f91dc5dfb47a91357c8276074fe57090bc5466
child 515840 59b0981f244c1d330541d4593fcafa2635c3ac6b
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanerik, lizzard
bugs1514031
milestone66.0
Bug 1514031 - Record the value of some telemetry testing prefs. r=janerik a=lizzard 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";