gecko-dev/dom/push
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 Bug 1164432. Try disabling test_try_registering_offline_disabled due to too many intermittent failures. r=kitcambridge 2015-08-31 12:28:04 -07:00
Push.js Bug 1193365 - Disable push debug. r=kitcambridge 2015-08-11 12:53:14 -07:00
Push.manifest Bug 1184574 - Allow access to PushManager on ServiceWorker. r=kitcambridge,smaug,catalinb 2015-07-23 08:30:15 -07:00
PushClient.js Bug 1193365 - Disable push debug. r=kitcambridge 2015-08-11 12:53:14 -07:00
PushDB.jsm Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge 2015-07-29 11:33:48 -07:00
PushManager.cpp Bug 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb 2015-09-02 10:07:26 -07:00
PushManager.h Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky,nsm 2015-07-30 01:06:38 -04:00
PushNotificationService.js Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge 2015-07-29 11:33:48 -07:00
PushRecord.jsm Bug 1196512 - Use principals to test for push permissions. r=nsm 2015-08-19 16:03:15 -07:00
PushService.jsm Bug 1196512 - Use principals to test for push permissions. r=nsm 2015-08-19 16:03:15 -07:00
PushServiceChildPreload.jsm Bug 1190661 - Send push only to child processes when in e10s mode. r=smaug 2015-07-30 20:00:21 -07:00
PushServiceHttp2.jsm Bug 1153504 - Add per-origin push quotas. r=nsm,mt,markh 2015-06-25 14:52:57 -07:00
PushServiceWebSocket.jsm Back out bug 1100863 and bug 1152264 for causing bug 1189729 on a CLOSED TREE. a=mhenretty,RyanVM 2015-08-11 07:30:38 -07:00
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