Nikhil Marathe
6e05417442
Bug 1193365 - Disable push debug. r=kitcambridge
...
--HG--
extra : commitid : 9Gf6AN5z3TX
extra : rebase_source : 9555cab8a9739e9a9af4fa682495e78a61fee727
2015-08-11 12:53:14 -07:00
Kit Cambridge
72909621aa
Back out bug 1100863 and bug 1152264 for causing bug 1189729 on a CLOSED TREE. a=mhenretty,RyanVM
...
--HG--
extra : commitid : Knw3n5aF6IT
2015-08-11 07:30:38 -07:00
Dave Townsend
9a151c74f1
Bug 1192441: Disable Push service debug logging by default. r=dougt
...
--HG--
extra : commitid : JtuiAzNqbFM
extra : rebase_source : 0d353f9ca599f6bd458ad74e947a1cea2fb0643a
2015-08-08 09:58:24 -07:00
Kit Cambridge
ca276a1334
Bug 1189543 - pushManager.getSubscription()
should return null
for nonexistent push subscriptions in workers. r=nsm
...
--HG--
extra : commitid : 7aBSevBFA0O
extra : rebase_source : 04558d29d557dabaf807ff5b066e25e06a1462f5
2015-08-06 10:15:00 -07:00
Kit Cambridge
b8b774517b
Back out changeset 0e68d7a16ed8 (bug 1189543) for mochitest-push timeouts.
...
--HG--
extra : commitid : Jgv1qFFc8Z6
2015-08-06 10:12:59 -07:00
Nikhil Marathe
f545f1c3eb
Bug 1191495 - Relax PushManager callback assertions. r=kitcambridge
...
--HG--
extra : commitid : 4K4ciVH8oHB
extra : rebase_source : d68782c9d9984a08faa0c3a33197a599dc5b52e6
extra : histedit_source : a666d3f7fc6c503379f962cf40f551b52450470e
2015-08-05 15:32:19 -07:00
Wes Kocher
5e90ccec17
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
4f39cda39b
Bug 1191495 - Relax PushManager callback assertions. r=kitcambridge
...
--HG--
extra : commitid : E9vbMNHj3TZ
extra : rebase_source : 816d8318a127beec799b648640057e21f77c647b
2015-08-05 13:21:08 -07:00
Nikhil Marathe
84fedf8359
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.
--HG--
extra : commitid : Dgfkg4LqLPK
extra : rebase_source : e64a4f1c757b05fe2939a338c1ad8d14f4015a90
2015-07-30 20:00:21 -07:00
Kit Cambridge
7e438a9230
Bug 1189543 - pushManager.getSubscription()
should return null
for nonexistent push subscriptions in workers. r=nsm
...
--HG--
extra : commitid : 1y3hC0xJqr6
extra : rebase_source : 29a7f65263d0d5d84a0940f1b8219b45b783b655
2015-08-04 13:43:23 -07:00
Nikhil Marathe
767490fbd3
Bug 1190672
- Fix use of AutoReleasePromiseWorkerProxy in PushManager. r=catalinb
...
--HG--
extra : commitid : 3bkV8RpOeaU
extra : rebase_source : 3dffb8fc355ad4f5d670376a969a03448011e7ba
2015-08-03 21:47:16 -07:00
Nikhil Marathe
7fe3f37d58
Bug 1190478 - Hide PushEvent.data until we ship message encryption. r=mt,jst
...
--HG--
extra : commitid : 6i4eexsw50U
extra : rebase_source : 9147a2f5e3996d104ff40e32da3e82ca1cc3917d
2015-08-03 11:04:41 -07:00
Ryan VanderMeulen
f98e582bb3
Backed out changeset 96bb759922a1 (bug 1189543) for frequent crashes/asserts.
...
CLOSED TREE
2015-08-03 12:32:31 -04:00
Nikhil Marathe
97ea06c0c0
Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge
...
--HG--
extra : commitid : 4z3omFAziAN
extra : transplant_source : %0A%E7%85%26%EE9%CE%95%0C/%AC%7E%89%ED%08%9A%3C%99mA
2015-07-29 11:33:48 -07:00
Kit Cambridge
1afb67d0c5
Bug 1189543 - pushManager.getSubscription()
should return null
for nonexistent push subscriptions in workers. r=nsm
...
--HG--
extra : commitid : zVDx1cN50P
extra : rebase_source : 7a3be47ab508b092f083a6452239ac77839395fc
2015-07-30 15:31:48 -07:00
Ehsan Akhgari
547404788d
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
Wes Kocher
1ca8b1de87
Merge b2ginbound to central, a=merge
2015-07-29 20:19:12 -07:00
Jessica Jong
f5fb1d9afa
Bug 1167132 - Part 10: [NetworkManager] Move network information into a separate interface (PushService). r=nsm
2015-07-29 02:11:00 -04:00
Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Ehsan Akhgari
3d87f1b808
Bug 1188450 - Add an empty EXPORTED_SYMBOLS array to PushServiceChildPreload.jsm; r=nsm
2015-07-28 18:46:52 -04:00
Ryan VanderMeulen
96b36b5855
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
6e916540f5
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
Eitan Isaacson
3055640112
Bug 1184626 - Add a per-process push message listener. r=smaug
...
--HG--
rename : dom/push/PushServiceChildPreload.js => dom/push/PushServiceChildPreload.jsm
extra : commitid : JVUONa2Klhc
extra : transplant_source : %8D%A86%94%B2%D7%3F%99%D6%C0%BE/%D8%8A%60%95%EE4%CCt
2015-07-17 14:54:38 -07:00
Nikhil Marathe
cf6e7ed78b
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.
--HG--
extra : commitid : A7RvB9rm8av
extra : transplant_source : %20%99%CA%B0%EB%B9%82%27D%F7e%B8UQ%12%E6%9B%18%BB5
2015-07-23 08:30:15 -07:00
Nikhil Marathe
f400c4125c
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.
--HG--
extra : commitid : 52Armk3onZ2
extra : rebase_source : 0ec2a950871bfb84a6bcd8bd8c00f3a10cd5bbce
2015-07-14 15:01:41 -07:00
Nikhil Marathe
457c7b88a7
Bug 1183853 - Rename hasPermission() to permissionState(). r=mt,smaug
...
--HG--
extra : commitid : IJXqmdPz2eS
extra : rebase_source : 3100fd71103969134792d1376e56606d3e9c5201
2015-07-14 14:27:32 -07:00
Nikhil Marathe
13cd15e734
Bug 1183825 - Hide PushMessageData methods until we support sending push data. r=mt,smaug
...
--HG--
extra : commitid : 7WT6shALhFp
extra : rebase_source : 4b3be0825b035666d0412888397b8de15e602af6
2015-07-14 13:45:01 -07:00
Kit Cambridge
97018538cd
Bug 1153504
- Add per-origin push quotas. r=nsm,mt,markh
...
--HG--
extra : commitid : 8CPpVl9sAYo
extra : rebase_source : d4e6330e3717c89f39686c620ae0aeb90e2156c8
2015-06-25 14:52:57 -07:00
Nikhil Marathe
808595ef2e
Bug 1166350 - Patch 2 - Fix tests. a=bustage
...
--HG--
extra : source : 726f0355ea94ba0772427bbebf53c2e919929d41
2015-06-24 14:27:49 -07:00
Nikhil Marathe
b8eea4d16b
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.
--HG--
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
extra : intermediate-source : be40dea6534771bdeedc9f7c6ccd8bbddb6e41c2
2015-06-24 13:34:54 -07:00
Nikhil Marathe
552b7cd770
Backed out changeset 964de5d960fa
...
The changes these tests depend on were backed out, but I didn't realise that and pushed this. Backing out and pushing again.
2015-06-24 14:32:39 -07:00
Nikhil Marathe
90857a5bc2
Bug 1166350 - Patch 2 - Fix tests. a=bustage
...
--HG--
extra : rebase_source : a96805e9d0827b618604f7479db8f1e8a6833735
extra : source : 726f0355ea94ba0772427bbebf53c2e919929d41
2015-06-24 14:27:49 -07:00
Ryan VanderMeulen
c01c5195c9
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Nikhil Marathe
bd635e2c8a
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.
--HG--
extra : rebase_source : 3b8cb541512d3fb9a253773c2fd5227c980efdd2
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
2015-06-02 15:56:33 -07:00
Nikhil Marathe
c2202d5a9d
Bug 1170817 - Fix unsubscribe() resolution value. r=dougt
...
--HG--
extra : rebase_source : 4ccadff701ded3f92f58be9fc9454732abb06a30
extra : source : 8332838a23ea21e74212846ad1fe2e36978c4752
2015-06-02 15:53:55 -07:00
Kit Cambridge
d8338f8319
Bug 1171261 - Only track pending channel registrations. r=dragana
2015-06-06 22:17:04 -07:00
Dragana Damjanovic
4263b8da0f
Bug 1172667 - Use EXTRA_JS_MODULES for dom/push/ jsm files. r=dougt
2015-06-09 02:11:00 -04:00
Dragana Damjanovic
7cbd07a051
Bug 1150812 - xcpshell test for PushService with http2. r=nsm, r=mt
2015-06-02 07:16:00 -04:00
Dragana Damjanovic
af2c1ad891
Bug 1150812 - Add Http2 Push service. r=nsm, r=mt
2015-06-03 08:06:00 -04:00
Dragana Damjanovic
2ce8502cf6
Bug 1150812 - Adapt xpcshell test and add mochi tests for WebSocket version. r=nsm, r=mt
2015-06-02 07:14:00 -04:00
Dragana Damjanovic
50d7b60872
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
3f73665213
Bug 1150812 - Split PushService - separate webSocket part. r=nsm, r=mt
2015-06-03 08:04:00 -04:00
Andrea Marchesini
a71e717b67
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
9caf60383a
Bug 1152264 - Push API constantly doing requests. r=nsm
...
--HG--
extra : rebase_source : b8440e5098a69e9ce6d64783992ddfe2e034cf33
2015-05-11 07:06:00 -04:00
Dragana Damjanovic
4c8eee1469
Bug 1162414 - Change PushService.jsm db to use promise. r=nsm, r=mt
2015-05-12 12:08:00 -04:00
Doug Turner
e62a465a91
Bug 1160333 - When denying permission, use the string 'PermissionDeniedError'. r=nsm
2015-05-01 11:01:17 -07:00
Doug Turner
817e793cea
Bug 1160316 - Bump IndexedDB name. r=nsm
2015-05-01 10:54:48 -07:00
Kit Cambridge
fb8ad5dbce
Bug 1159310 - Update the storage xpcshell tests. r=dougt
...
--HG--
extra : rebase_source : 3a49ed7f897c4edda9a2b84e4bd9f5f31777d3e2
2015-04-29 05:31:00 -04:00
Doug Turner
9bf4add3ed
Bug 1159310 - Remember the push count and last push time for push events. r=kit
...
--HG--
extra : rebase_source : 58b5f6f1b0e98e201f77b4ec3feabce6c8ef5394
2015-04-28 09:44:00 -04:00
Carsten "Tomcat" Book
f44696b7a9
Backed out changeset 0efce0a97efe (bug 1159310) for xpc bustage on a CLOSED TREE
2015-04-29 09:53:02 +02:00