gecko-dev/dom/notification
Nikhil Marathe 548809dc68 Bug 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb
Get rid of having users dispatch control runnables. It was error prone and
required too much reasoning. It was also possible to end up in a state where
callers would dispatch a WorkerRunnable, which would succeed, so they would not
dispatch a WorkerControlRunnable. Then the worker would stop Running,
canceling and releasing the runnable leading to releasing the proxy in an
unclean state. Instead, we AddRef() and add the feature and remove the feature
and Release() on Notify(). If callers successfully run a WorkerRunnable they
clean the proxy. If not, the proxy stays alive until the worker switches to
Canceling state.

--HG--
extra : commitid : BnnijSibVYe
extra : rebase_source : 15f6810dfbd0c88a983196de401c55e782b1d1d8
2015-09-02 10:07:26 -07:00
..
test/unit Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04: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 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb 2015-09-02 10:07:26 -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 1159128 - Only save valid app notifications. r=mhenretty 2015-05-14 10:59:00 +02: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 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen 2015-06-25 18:50:25 -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