Bug 1546988 - Enable recording additional event telemetry on user interaction with permission prompts in Nightly. r=Ehsan
authorJohann Hofmann <jhofmann@mozilla.com>
Fri, 03 May 2019 15:21:28 +0000
changeset 531322 c42fe6e0cd6a57563c6fa4d75e9f2a1d786e22bb
parent 531321 aee3238950ca2c51c282739c319644718651ad38
child 531323 5fa4ae41da870759e7cd3531f81604e8f87bc589
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEhsan
bugs1546988
milestone68.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 1546988 - Enable recording additional event telemetry on user interaction with permission prompts in Nightly. r=Ehsan Differential Revision: https://phabricator.services.mozilla.com/D29797
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -414,19 +414,22 @@ pref("permissions.default.shortcuts", 0)
 #ifdef NIGHTLY_BUILD
 pref("permissions.desktop-notification.postPrompt.enabled", true);
 #else
 pref("permissions.desktop-notification.postPrompt.enabled", false);
 #endif
 
 pref("permissions.postPrompt.animate", true);
 
-// This is meant to be enabled only for studies, not for
-// permanent data collection on any channel.
+// This is primarily meant to be enabled for studies.
+#ifdef NIGHTLY_BUILD
+pref("permissions.eventTelemetry.enabled", true);
+#else
 pref("permissions.eventTelemetry.enabled", false);
+#endif
 
 // handle links targeting new windows
 // 1=current window/tab, 2=new window, 3=new tab in most recent window
 pref("browser.link.open_newwindow", 3);
 
 // handle external links (i.e. links opened from a different application)
 // default: use browser.link.open_newwindow
 // 1-3: see browser.link.open_newwindow for interpretation