Bug 1567607 - Expose network.trr.mode to telemetry r=janerik a=ryanvm
authorTim D. Smith <tdsmith@mozilla.com>
Mon, 22 Jul 2019 14:35:35 +0000
changeset 544703 9fc885879ec5eeb2918c42a04d932a43870246fb
parent 544702 a372e4f1eee80bac19e0a0f95ddc3f7c3a62a371
child 544704 4e778d09c6b239042d90d20667aff5821709f6f4
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanerik, ryanvm
bugs1567607
milestone69.0
Bug 1567607 - Expose network.trr.mode to telemetry r=janerik a=ryanvm Add the network.trr.mode pref, which reflects whether DNS over HTTPS is enabled or not, to the telemetry environment. Differential Revision: https://phabricator.services.mozilla.com/D38743
toolkit/components/telemetry/app/TelemetryEnvironment.jsm
--- a/toolkit/components/telemetry/app/TelemetryEnvironment.jsm
+++ b/toolkit/components/telemetry/app/TelemetryEnvironment.jsm
@@ -282,16 +282,17 @@ const DEFAULT_ENVIRONMENT_PREFS = new Ma
   ],
   ["layers.prefer-d3d9", { what: RECORD_PREF_VALUE }],
   ["layers.prefer-opengl", { what: RECORD_PREF_VALUE }],
   ["layout.css.devPixelsPerPx", { what: RECORD_PREF_VALUE }],
   ["marionette.enabled", { what: RECORD_PREF_VALUE }],
   ["network.proxy.autoconfig_url", { what: RECORD_PREF_STATE }],
   ["network.proxy.http", { what: RECORD_PREF_STATE }],
   ["network.proxy.ssl", { what: RECORD_PREF_STATE }],
+  ["network.trr.mode", { what: RECORD_PREF_VALUE }],
   ["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.enterprise_roots.auto-enabled", { what: RECORD_PREF_VALUE }],
   ["security.enterprise_roots.enabled", { what: RECORD_PREF_VALUE }],