Bug 1544424 - Enable permissions.desktop-notification.postPrompt.enabled in Nightly. r=Ehsan
authorJohann Hofmann <jhofmann@mozilla.com>
Tue, 16 Apr 2019 13:30:13 +0000
changeset 469674 443666c95c48
parent 469673 945a3400303e
child 469675 2b3d5e8d716d
push id35879
push usernerli@mozilla.com
push dateTue, 16 Apr 2019 22:01:48 +0000
treeherdermozilla-central@12a60898fdc1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEhsan
bugs1544424
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 1544424 - Enable permissions.desktop-notification.postPrompt.enabled in Nightly. r=Ehsan Differential Revision: https://phabricator.services.mozilla.com/D27508
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -406,17 +406,21 @@ pref("permissions.manager.defaultsUrl", 
 // Set default fallback values for site permissions we want
 // the user to be able to globally change.
 pref("permissions.default.camera", 0);
 pref("permissions.default.microphone", 0);
 pref("permissions.default.geo", 0);
 pref("permissions.default.desktop-notification", 0);
 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);
 
 // 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)