gecko-dev/dom/notification
Nikhil Marathe 6d235278db Bug 1203324 - disable notifications on serviceworkers. r=ehsan,wchen
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
2015-09-15 12:58:32 -07:00
..
test/unit Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
ChromeNotifications.js Bug 1100876 - Add showOnlyOnce to MozBehavior dict. r=mhenretty, r=smaug 2014-11-25 08:26:00 -05:00
ChromeNotifications.manifest
DesktopNotification.cpp Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
DesktopNotification.h Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Notification.cpp Bug 1203324 - disable notifications on serviceworkers. r=ehsan,wchen 2015-09-15 12:58:32 -07:00
Notification.h Bug 1196079 - Always try to release Notification via normal WorkerRunnable first. r=wchen 2015-08-24 15:40:57 -07:00
NotificationDB.jsm Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
NotificationEvent.cpp Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku 2015-06-25 18:50:25 -07:00
NotificationEvent.h Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku 2015-06-25 18:50:25 -07:00
NotificationStorage.js Bug 1114554 - Disable NotificationStorage debug logging. r=dholbert 2015-09-14 16:08:38 -07:00
NotificationStorage.manifest
moz.build Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00