Bug 1406392 - Whitelist the "overridePreRelease" testing pref in ContentPrefs.cpp. r?chutten draft
authorAlessio Placitelli <alessio.placitelli@gmail.com>
Wed, 18 Oct 2017 10:51:04 +0200
changeset 683905 c27e578396a4ce42cbf44e7537ff7ca968e962aa
parent 683904 f20cbcddc4dc65d27e871447fb72af0631fdf740
child 736761 9d30c3f42337e4db8017f9a9831e6332b69c3162
push id85500
push useralessio.placitelli@gmail.com
push dateFri, 20 Oct 2017 14:27:56 +0000
reviewerschutten
bugs1406392
milestone58.0a1
Bug 1406392 - Whitelist the "overridePreRelease" testing pref in ContentPrefs.cpp. r?chutten This is needed since the pref will be sent with the first IPC message as soon as the content process starts. Without this, it crashes on debug builds. MozReview-Commit-ID: 3mGwEkaJF7n
dom/ipc/ContentPrefs.cpp
--- a/dom/ipc/ContentPrefs.cpp
+++ b/dom/ipc/ContentPrefs.cpp
@@ -240,16 +240,17 @@ const char* mozilla::dom::ContentPrefs::
   "toolkit.telemetry.enabled",
   "toolkit.telemetry.idleTimeout",
   "toolkit.telemetry.initDelay",
   "toolkit.telemetry.log.dump",
   "toolkit.telemetry.log.level",
   "toolkit.telemetry.minSubsessionLength",
   "toolkit.telemetry.scheduler.idleTickInterval",
   "toolkit.telemetry.scheduler.tickInterval",
+  "toolkit.telemetry.testing.overridePreRelease",
   "toolkit.telemetry.unified",
   "ui.key.menuAccessKeyFocuses",
   "ui.popup.disable_autohide",
   "ui.use_activity_cursor",
   "view_source.editor.external"};
 
 const char** mozilla::dom::ContentPrefs::GetContentPrefs(size_t* aCount)
 {