Andrea Marchesini
fa931b8f4f
Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
2015-09-02 17:20:30 +01:00
Doug Turner
40122c5ef1
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
Nicholas Nethercote
69d088e45f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Chris Peterson
cd0fd3466a
Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium
2015-08-25 09:14:38 -07:00
Kit Cambridge
9de100cf73
Bug 1196512 - Use principals to test for push permissions. r=nsm
2015-08-19 16:03:15 -07:00
Chris Peterson
01219e14b1
Bug 1194580 - Mark dom/push as FAIL_ON_WARNINGS. r=nsm
2015-08-13 20:35:31 -07:00
Muhsin Ali Steiman
734952132e
Bug 1183440 - Replaces Promise.defer() with the Promise constructor in push tests. r=kitcambridge
2015-08-14 17:26:07 -07:00
Nikhil Marathe
0095cf45f9
Bug 1193365 - Disable push debug. r=kitcambridge
2015-08-11 12:53:14 -07:00
Kit Cambridge
7dd33b3118
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
Dave Townsend
5af297e5bb
Bug 1192441: Disable Push service debug logging by default. r=dougt
2015-08-08 09:58:24 -07:00
Kit Cambridge
1da66bdfc6
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
10756f04d7
Back out changeset 0e68d7a16ed8 (bug 1189543) for mochitest-push timeouts.
2015-08-06 10:12:59 -07:00
Nikhil Marathe
d055b1efb8
Bug 1191495 - Relax PushManager callback assertions. r=kitcambridge
2015-08-05 15:32:19 -07:00
Wes Kocher
b0c434c39d
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
362e16ffd1
Bug 1191495 - Relax PushManager callback assertions. r=kitcambridge
2015-08-05 13:21:08 -07:00
Nikhil Marathe
f43bfcd465
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
Kit Cambridge
7c5a4c7376
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
1d796d6399
Bug 1190672 - Fix use of AutoReleasePromiseWorkerProxy in PushManager. r=catalinb
2015-08-03 21:47:16 -07:00
Nikhil Marathe
cfbab4cece
Bug 1190478 - Hide PushEvent.data until we ship message encryption. r=mt,jst
2015-08-03 11:04:41 -07:00
Ryan VanderMeulen
6e36327058
Backed out changeset 96bb759922a1 (bug 1189543) for frequent crashes/asserts.
...
CLOSED TREE
2015-08-03 12:32:31 -04:00
Nikhil Marathe
2c43ab2f64
Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge
2015-07-29 11:33:48 -07:00
Kit Cambridge
4503d0abcf
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
68342b6b61
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
cb7dc67ce2
Merge b2ginbound to central, a=merge
2015-07-29 20:19:12 -07:00
Jessica Jong
28cee95da7
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
59c4d9cf6c
Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Ehsan Akhgari
e1e94e222b
Bug 1188450 - Add an empty EXPORTED_SYMBOLS array to PushServiceChildPreload.jsm; r=nsm
2015-07-28 18:46:52 -04:00
Ryan VanderMeulen
50d519f161
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
1ebf85a7c8
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
bb2cf399f8
Bug 1184626 - Add a per-process push message listener. r=smaug
2015-07-17 14:54:38 -07:00
Nikhil Marathe
ad3e15032d
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
Nikhil Marathe
2bb1043eaa
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
Nikhil Marathe
ae7b1e8e6a
Bug 1183853 - Rename hasPermission() to permissionState(). r=mt,smaug
2015-07-14 14:27:32 -07:00
Nikhil Marathe
9a3c1e0390
Bug 1183825 - Hide PushMessageData methods until we support sending push data. r=mt,smaug
2015-07-14 13:45:01 -07:00
Kit Cambridge
a926d94737
Bug 1153504 - Add per-origin push quotas. r=nsm,mt,markh
2015-06-25 14:52:57 -07:00
Nikhil Marathe
7d626c26ae
Bug 1166350 - Patch 2 - Fix tests. a=bustage
2015-06-24 14:27:49 -07:00
Nikhil Marathe
758cf86e07
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
Nikhil Marathe
cf1eac0bac
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
1051fa5c1f
Bug 1166350 - Patch 2 - Fix tests. a=bustage
2015-06-24 14:27:49 -07:00
Ryan VanderMeulen
1d793fe4e1
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Nikhil Marathe
56fd5b72d0
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
Nikhil Marathe
3e1af8a896
Bug 1170817 - Fix unsubscribe() resolution value. r=dougt
2015-06-02 15:53:55 -07:00
Kit Cambridge
d5362f4b7d
Bug 1171261 - Only track pending channel registrations. r=dragana
2015-06-06 22:17:04 -07:00
Dragana Damjanovic
4820021a0a
Bug 1172667 - Use EXTRA_JS_MODULES for dom/push/ jsm files. r=dougt
2015-06-09 02:11:00 -04:00
Dragana Damjanovic
948ce734d4
Bug 1150812 - xcpshell test for PushService with http2. r=nsm, r=mt
2015-06-02 07:16:00 -04:00
Dragana Damjanovic
31785d07f1
Bug 1150812 - Add Http2 Push service. r=nsm, r=mt
2015-06-03 08:06:00 -04:00
Dragana Damjanovic
a390453846
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
1385cffcc2
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
001d795a62
Bug 1150812 - Split PushService - separate webSocket part. r=nsm, r=mt
2015-06-03 08:04:00 -04:00
Andrea Marchesini
6652fec785
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