Bug 1155505 - Part 3. Use native Windows Toast backend on Nightly only. r=jaws
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Thu, 09 Aug 2018 20:37:08 +0900
changeset 487850 4c0026439db7b741f41200c61cd18358094cbeb0
parent 487849 baf52bca95ae38eef9ee2f9ce3bf40dc133f37bd
child 487869 2cf14f576b8aaae2586a42a0048740dd542e81f3
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
Bug 1155505 - Part 3. Use native Windows Toast backend on Nightly only. r=jaws For feedback, I would like to turn on native Windows Toast backend on Nightly only. Differential Revision: https://phabricator.services.mozilla.com/D3004
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5085,17 +5085,28 @@ pref("network.buffer.cache.size",  32768
 pref("dom.webnotifications.requireinteraction.count", 3);
 // Show favicons in web notifications.
 pref("alerts.showFavicons", false);
 // Whether to use platform-specific backends for showing desktop notifications.
 // If no such backend is available, or if the pref is false, then XUL
 // notifications are used.
+// Linux and macOS turn on system level notification as default, but Windows is
+// Nightly only due to unstable yet.
+#if defined(XP_WIN)
+#if defined(NIGHTLY_BUILD)
 pref("alerts.useSystemBackend", true);
+pref("alerts.useSystemBackend", false);
+pref("alerts.useSystemBackend", true);
 // DOM full-screen API.
 pref("full-screen-api.enabled", false);
 pref("full-screen-api.allow-trusted-requests-only", true);
 // whether to prevent the top level widget from going fullscreen
 pref("full-screen-api.ignore-widgets", false);
 pref("full-screen-api.pointer-lock.enabled", true);
 // transition duration of fade-to-black and fade-from-black, unit: ms