Commit Graph

20 Commits

Author SHA1 Message Date
Nikhil Marathe
85363ecf25 Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
2015-06-25 18:50:24 -07:00
Nikhil Marathe
e7b5f54992 Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku 2015-06-25 18:50:24 -07:00
Nikhil Marathe
cd760dad5b Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api
***
Folded:
Bug 916893 - Better ownership model. r=khuey
Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.
2015-06-25 18:53:02 -07:00
Ryan VanderMeulen
965e1e9b30 Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)

CLOSED TREE
2015-06-25 19:52:40 -04:00
Nikhil Marathe
1188d9bccc Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
2015-05-06 13:52:41 -07:00
Nikhil Marathe
04147da9fa Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku 2015-03-10 18:57:09 -07:00
Nikhil Marathe
02f8317c80 Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api
***
Folded:
Bug 916893 - Better ownership model. r=khuey
Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.
2015-06-25 11:36:53 -07:00
Roshan Vidyashankar
d04cd75f5d Bug 1058924 - Disable Notifications API in prerendering; r=jst 2014-12-21 12:02:33 -05:00
Alexandre Lissy
9bc7b7423a Bug 1100876 - Add showOnlyOnce to MozBehavior dict. r=mhenretty, r=smaug
There are some notifications that we know we don't want to resend. For
instance, Voicemail notifications are some, since everytime the network
will be ready it will notify us of the status, so we don't have to
resend it on reboot. We add a 'showOnlyOnce' key in the MozBehavior dict
for this usecase.
2014-11-25 08:26:00 -05:00
Robert Bindar
d4adf00299 Bug 912645 - Add notification behavior dict support. r=baku, sr=sicking 2014-09-16 17:12:00 -04:00
Robert Bindar
a0e0e8b231 Bug 899585 - Add custom data support in the Notification constructor r=baku 2014-08-20 17:56:12 -07:00
Boris Zbarsky
117ebe6a51 Bug 1045743. Add support for the Promise<type> syntax to Web IDL bindings. r=khuey 2014-07-31 23:50:30 -04:00
Ehsan Akhgari
30586e667b Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Michael Henretty
6b1444abbe Bug 899574 - Part 2, add Notification.get() with notification storage. r=bent 2013-10-02 18:27:53 -07:00
Michael Henretty
ffcf05e384 Bug 915726 - [Web Notifications] follow-up, change notification properties from Constant to Pure. r=gwagner 2013-09-12 08:48:56 -07:00
Reuben Morais
69ab2ad7e9 Backed out 2 changesets (bug 899574) for breaking Gaia tests 2013-10-07 14:41:13 -04:00
Michael Henretty
4eb31cc6e0 Bug 899574 - Part 2, add Notification.get() with notification storage. r=bent 2013-10-02 18:27:53 -07:00
Olli Pettay
6faa270649 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Michael Henretty
b337c78ab3 Bug 915450 - [Web Notifications] allow to inspect notification properties. r=bz 2013-09-12 02:50:29 -07:00
William Chen
51ca88fab0 Bug 782211 - Part 5: Implement Notification API. r=smaug 2013-03-18 06:24:54 -07:00