зеркало из https://github.com/mozilla/gecko-dev.git
6d235278db
Per the product discussion, the Notification API should be disabled in ServiceWorker in release builds for 42 since the UX isn't great [1]. The aim is to release in 44. Apologies for the code duplication for pref checking in Notification and ServiceWorkerRegistration. There isn't a easy way to get ServiceWorkerRegistration's generated binding to include Notification.h without having an attribute/method that uses Notification. [1]: https://mana.mozilla.org/wiki/x/TgAJAw --HG-- extra : commitid : 5dtc2E63kuM extra : rebase_source : 4265dcd154462aa4f3b915e9e898fe7b82bf9afc |
||
---|---|---|
.. | ||
test/unit | ||
ChromeNotifications.js | ||
ChromeNotifications.manifest | ||
DesktopNotification.cpp | ||
DesktopNotification.h | ||
Notification.cpp | ||
Notification.h | ||
NotificationDB.jsm | ||
NotificationEvent.cpp | ||
NotificationEvent.h | ||
NotificationStorage.js | ||
NotificationStorage.manifest | ||
moz.build |