Commit Graph

16 Commits

Author SHA1 Message Date
Dragana Damjanovic
579751a2b2 Bug 1172502 - Add message encription for WebPush. r=mt r=kitcambridge r=keeler r=smaug 2015-09-11 07:51:32 -07:00
Nikhil Marathe
90a561adbe 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.
2015-09-02 10:07:26 -07:00
Andrea Marchesini
a2c814e845 Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01:00
Kit Cambridge
58fa3696f6 Bug 1189543 - pushManager.getSubscription() should return null for nonexistent push subscriptions in workers. r=nsm 2015-08-06 10:15:00 -07:00
Kit Cambridge
f8b2b42373 Back out changeset 0e68d7a16ed8 (bug 1189543) for mochitest-push timeouts. 2015-08-06 10:12:59 -07:00
Nikhil Marathe
ac011d0a1f Bug 1191495 - Relax PushManager callback assertions. r=kitcambridge 2015-08-05 15:32:19 -07:00
Wes Kocher
6a7e2366bd Backed out 3 changesets (bug 1191495, bug 1153499, bug 1144660) for mochitest-push crashes
Backed out changeset 8917e7323399 (bug 1191495)
Backed out changeset 13ed6f60d3f9 (bug 1144660)
Backed out changeset 95bd6642e4b1 (bug 1153499)
2015-08-05 15:18:05 -07:00
Nikhil Marathe
6f1c4e6c68 Bug 1191495 - Relax PushManager callback assertions. r=kitcambridge 2015-08-05 13:21:08 -07:00
Kit Cambridge
2abc97c63e Bug 1189543 - pushManager.getSubscription() should return null for nonexistent push subscriptions in workers. r=nsm 2015-08-04 13:43:23 -07:00
Nikhil Marathe
2c31f8f22e Bug 1190672 - Fix use of AutoReleasePromiseWorkerProxy in PushManager. r=catalinb 2015-08-03 21:47:16 -07:00
Ryan VanderMeulen
d40f148b97 Backed out changeset 96bb759922a1 (bug 1189543) for frequent crashes/asserts.
CLOSED TREE
2015-08-03 12:32:31 -04:00
Kit Cambridge
903cb88a50 Bug 1189543 - pushManager.getSubscription() should return null for nonexistent push subscriptions in workers. r=nsm 2015-07-30 15:31:48 -07:00
Ehsan Akhgari
bac8dddb71 Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky,nsm
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces.  This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
2015-07-30 01:06:38 -04:00
Ryan VanderMeulen
5a65a53c72 Backed out changeset c88d1138bc38 (bug 1188091) for Mulet test_serviceworker_interfaces.html failures.
CLOSED TREE
2015-07-28 13:28:39 -04:00
Ehsan Akhgari
34f6032f9e Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces.  This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
2015-07-28 12:28:53 -04:00
Nikhil Marathe
6ede93ec7c Bug 1184574 - Allow access to PushManager on ServiceWorker. r=kitcambridge,smaug,catalinb
Refactoring to allow access to PushManager in ServiceWorkerGlobalScope. See comment in PushManager.h for details.
2015-07-23 08:30:15 -07:00