Kit Cambridge
2ff6ed91d4
Back out bug 1205109 for Push mochitest failure.
2015-09-18 18:15:23 -07:00
Kit Cambridge
87d7d712fa
Bug 1205109 - Make pushsubscriptionchange extendable. r=mt,nsm
2015-09-17 05:15:45 -07:00
Kit Cambridge
e1a641d6a0
Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug
2015-09-17 05:10:42 -07:00
Kit Cambridge
dab1ff1b0e
Bug 1185544 - Add data delivery to the WebSocket backend. r=dragana,nsm
2015-09-17 05:08:50 -07:00
Nikhil Marathe
690c1ea047
Bug 914481 - Patch 4 - Track why we fail to deliver notifications to Service Workers. r=kitcambridge
2015-09-16 10:28:17 -07:00
Nikhil Marathe
f2ba0d76e7
Bug 914481 - Patch 2 - Track subscribe and unsubscribe success/failure. r=kitcambridge
2015-08-05 17:03:49 -07:00
Carsten "Tomcat" Book
87b233b571
Backed out 4 changesets (bug 914481) for xpc and push service test failures
...
Backed out changeset 6165f6eba17f (bug 914481)
Backed out changeset a8c47e9431d0 (bug 914481)
Backed out changeset f03e8c42861e (bug 914481)
Backed out changeset 84b11173d98f (bug 914481)
2015-09-17 12:31:49 +02:00
Nikhil Marathe
d99a83ceae
Bug 914481 - Patch 4 - Track why we fail to deliver notifications to Service Workers. r=kitcambridge
2015-08-06 16:59:35 -07:00
Nikhil Marathe
4507212e9f
Bug 914481 - Patch 2 - Track subscribe and unsubscribe success/failure. r=kitcambridge
2015-08-05 17:03:49 -07:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
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
Kit Cambridge
79f3e59e9a
Bug 1196512 - Use principals to test for push permissions. r=nsm
2015-08-19 16:03:15 -07:00
Dave Townsend
f878be72e0
Bug 1192441: Disable Push service debug logging by default. r=dougt
2015-08-08 09:58:24 -07:00
Nikhil Marathe
8d8bc2a8c2
Bug 1190661 - Send push only to child processes when in e10s mode. r=smaug
...
Earlier, the in-process child process message manager and any content process
child process message managers received the push event. This is because
broadcastAsyncMessage is used, but on e10s we want ServiceWorkers to run in the
child process, so the push should only be dispatched to it. This patch
introduces a list of child process listeners in the PushService (running on the
parent). PushServiceChildPreload sends a message to the PushService iff it is
running in a child process. If there are non-zero child listeners, the
PushService will send a message to all of them, otherwise it will fall back to
broadcastAsyncMessage.
We currently do not add support for precise targeting of child processes. This
is because until Bug 1182117 is fixed, all child process ServiceWorkerManagers
maintain all the service worker registrations internally. Yes this is a bug,
but that is the way things are right now. This makes it impossible to
distinguish which child should handle the notification for a given origin.
Considering we don't ship multi-process e10s, I would like to land this right
now.
When Bug 1182117 is fixed, we can remove this code since the
ServiceWorkerManager will manage registrations in the parent, and it will know
which child process is running which ServiceWorker.
2015-07-30 20:00:21 -07:00
Nikhil Marathe
097b753b59
Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge
2015-07-29 11:33:48 -07:00
Eitan Isaacson
19a81d251b
Bug 1184626 - Add a per-process push message listener. r=smaug
2015-07-17 14:54:38 -07:00
Nikhil Marathe
07ac305f96
Bug 1183867 - Fix PushSubscription.unsubscribe() semantics r=mt
...
resolve with false when subscription does not exist. true when successfully unregistered. reject with NetworkError in other cases.
2015-07-14 15:01:41 -07:00
Kit Cambridge
b153c5bf79
Bug 1153504 - Add per-origin push quotas. r=nsm,mt,markh
2015-06-25 14:52:57 -07:00
Nikhil Marathe
386ed172ac
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
2768d1ce46
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Nikhil Marathe
6475190f81
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-02 15:56:33 -07:00
Kit Cambridge
320df95978
Bug 1171261 - Only track pending channel registrations. r=dragana
2015-06-06 22:17:04 -07:00
Dragana Damjanovic
79608615b0
Bug 1150812 - xcpshell test for PushService with http2. r=nsm, r=mt
2015-06-02 07:16:00 -04:00
Dragana Damjanovic
c95290c672
Bug 1150812 - Add Http2 Push service. r=nsm, r=mt
2015-06-03 08:06:00 -04:00
Dragana Damjanovic
1a9a6ff298
Bug 1150812 - Split PushService - make the separation more common for webSocket and http2. r=nsm, r=mt
2015-06-03 08:05:00 -04:00
Dragana Damjanovic
2ab3412f50
Bug 1150812 - Split PushService - separate webSocket part. r=nsm, r=mt
2015-06-03 08:04:00 -04:00
Andrea Marchesini
5ad7cadc6a
Bug 1162088 - patch 1 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm, r=bholley
2015-06-03 09:43:43 +01:00
Fernando Rodriguez Sela
1cc1af9433
Bug 1152264 - Push API constantly doing requests. r=nsm
2015-05-11 07:06:00 -04:00
Dragana Damjanovic
2e06810e09
Bug 1162414 - Change PushService.jsm db to use promise. r=nsm, r=mt
2015-05-12 12:08:00 -04:00
Doug Turner
c796aa98d3
Bug 1160316 - Bump IndexedDB name. r=nsm
2015-05-01 10:54:48 -07:00
Doug Turner
20eb96b60c
Bug 1159310 - Remember the push count and last push time for push events. r=kit
2015-04-28 09:44:00 -04:00
Dragana Damjanovic
4ac30bbd3c
Bug 1156397 - some fix for webpush PushServer. r=dougt r=nsm
2015-04-24 14:55:00 +02:00
Doug Turner
4f6476c8e3
Bug 1157732 - Allow ws (insecure) connections to localhost. r=kcambridge
2015-04-23 20:43:40 +02:00
Doug Turner
af36aaba47
Bug 1149274 - Clear site-permissions should clear all registered push notifications. r=nsm
2015-04-21 20:10:51 +02:00
Kit Cambridge
80bd9f8a80
Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
...
---
dom/push/PushService.jsm | 156 ++++++++++++++++++++++++++++++++---------------
dom/push/moz.build | 2 +-
2 files changed, 108 insertions(+), 50 deletions(-)
2015-04-21 20:10:50 +02:00
Kit Cambridge
a5be1cb2f2
Bug 1150683 - Implement nsIPushNotificationService. r=dougt
...
---
b2g/installer/package-manifest.in | 2 +-
browser/installer/package-manifest.in | 2 +-
dom/push/Push.manifest | 11 +-
dom/push/PushNotificationService.js | 81 +++++++++
dom/push/PushService.jsm | 324 ++++++++++++++++++++--------------
dom/push/PushServiceLauncher.js | 50 ------
dom/push/moz.build | 2 +-
7 files changed, 285 insertions(+), 187 deletions(-)
create mode 100644 dom/push/PushNotificationService.js
delete mode 100644 dom/push/PushServiceLauncher.js
2015-04-21 20:10:50 +02:00
Phil Ringnalda
3c20e4444e
Backed out 4 changesets (bug 1150683) for Talos indexedDB crashes
...
CLOSED TREE
Backed out changeset 7953d3dd62ff (bug 1150683)
Backed out changeset c6805afff48c (bug 1150683)
Backed out changeset 186ed6bc887e (bug 1150683)
Backed out changeset 8e82f557f913 (bug 1150683)
2015-04-19 07:20:24 -07:00
Kit Cambridge
53a0bf6415
Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
...
---
dom/push/PushService.jsm | 156 ++++++++++++++++++++++++++++++++---------------
dom/push/moz.build | 2 +-
2 files changed, 108 insertions(+), 50 deletions(-)
2015-04-19 12:06:21 +02:00
Kit Cambridge
8bd93ff0c1
Bug 1150683 - Implement nsIPushNotificationService. r=dougt
...
---
b2g/installer/package-manifest.in | 2 +-
browser/installer/package-manifest.in | 2 +-
dom/push/Push.manifest | 11 +-
dom/push/PushNotificationService.js | 81 +++++++++
dom/push/PushService.jsm | 324 ++++++++++++++++++++--------------
dom/push/PushServiceLauncher.js | 50 ------
dom/push/moz.build | 2 +-
7 files changed, 285 insertions(+), 187 deletions(-)
create mode 100644 dom/push/PushNotificationService.js
delete mode 100644 dom/push/PushServiceLauncher.js
2015-04-19 12:06:11 +02:00
Doug Turner
bb36703fef
Bug 1153937 - enable PushServiceLauncher. r=nsm
2015-04-13 10:03:24 -07:00
Phil Ringnalda
3211c550f9
Backed out 4 changesets (bug 1150683) for Android xpcshell test bustage
...
CLOSED TREE
Backed out changeset 645508dd2a76 (bug 1150683)
Backed out changeset 4389151f1348 (bug 1150683)
Backed out changeset 66ca87f2a944 (bug 1150683)
Backed out changeset 814fc7abbe18 (bug 1150683)
2015-04-13 20:15:58 -07:00
Kit Cambridge
ac1d57da07
Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
2015-04-13 17:25:18 -07:00
Kit Cambridge
a42caaefe3
Bug 1150683 - Implement nsIPushNotificationService. r=dougt
2015-04-13 17:25:18 -07:00
Doug Turner
3a80e71cbc
Bug 1038811 - Push Notifications - Push implementation changes. r=nsm
2015-04-10 20:19:28 -07:00
Dragana Damjanovic
800c13ed99
Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer
2015-04-08 15:35:00 -04:00
Bevis Tseng
d0a066cbd9
Bug 1114935 - Part 6.6: Migration in PushService.jsm. r=nsm
2015-01-15 18:40:01 +08:00
Gregor Wagner
1f49174393
Backout Bug 1114935 for causing bug 1144567.
2015-03-18 11:48:52 -07:00
Bevis Tseng
834793d7c5
Bug 1114935 - Part 6.6: Migration in PushService.jsm. r=nsm
2015-01-15 18:40:01 +08:00
Nikhil Marathe
767e6078ce
Bug 1080752 - Hold wakelock when attempting to connect to push server. r=dougt
2015-03-09 15:40:04 -07:00
Ryan VanderMeulen
57644fabd7
Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
...
CLOSED TREE
2015-03-09 16:35:06 -04:00