Kit Cambridge
3898c24797
Bug 1191453
- Drop subscriptions for a site when the user revokes push permissions. r=mt,MattN
...
--HG--
extra : commitid : JlZvX8xAxRf
extra : rebase_source : 14372dacf2d519784890550a0e77d4c05e4f2c1a
2015-10-06 08:14:25 -07:00
Nicholas Hurley
4c3788b7e0
Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus
...
--HG--
extra : rebase_source : d7559f26af0fb04ae2249db4acc181ff9be6eb6b
2015-10-05 13:13:05 -07:00
Kit Cambridge
74ef03c1a6
Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN
...
--HG--
extra : commitid : 1veevVaOOYv
2015-10-05 16:39:34 -07:00
Kit Cambridge
cfd53ffe54
Bug 1210943 - Drop subscriptions unconditionally if the UAID changes. r=benbangert
...
--HG--
extra : commitid : 6vvxcaIIAbE
extra : amend_source : 1ea3d4821cb9a7b799f33da897d14cbd28a0c118
2015-10-03 14:59:24 -07:00
Catalin Badea
12590da787
Bug 1188545 - Fixup for test_serviceworker_lifetime.html a=testonly
2015-10-01 01:42:18 -04:00
Catalin Badea
450ddec732
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 19:11:03 -04:00
Wes Kocher
6fbdec2422
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Stephanie Ouillon
5e14a3b3a8
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin
2015-08-26 13:12:13 +02:00
Catalin Badea
e3772b283b
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 10:14:33 -04:00
Carsten "Tomcat" Book
64c0a617b7
Backed out 1 changesets (bug 1178533) for xpcshell-1 test failures
...
Backed out changeset b12584fad334 (bug 1178533)
2015-09-24 08:41:04 +02:00
Stephanie Ouillon
478b31c634
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin
2015-09-23 07:41:00 +02:00
Carsten "Tomcat" Book
58878018ac
Backed out 1 changesets (bug 1178533) for s4 testfailures
...
Backed out changeset 8bbdb80f67e0 (bug 1178533)
--HG--
extra : rebase_source : 040491f382ad7b03ba803686601f1272416ab47d
2015-09-23 10:17:54 +02:00
Stephanie Ouillon
ad9e2b8a95
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin
2015-09-22 11:55:00 +02:00
Kit Cambridge
7f516ea381
Back out bug 1205109 for Push mochitest failure.
...
--HG--
extra : commitid : 8uF5cA3R489
extra : rebase_source : 32dcfc2a2816dabecb7a102d7b44b8f2d2c89160
2015-09-18 18:15:23 -07:00
Kit Cambridge
731f585e6c
Bug 1205109 - Make `pushsubscriptionchange` extendable. r=mt,nsm
...
--HG--
extra : commitid : 4ziWEfRBlb4
extra : rebase_source : 8998aaf2f21825c93aba12de2a8543ecb64d7c1b
2015-09-17 05:15:45 -07:00
Kit Cambridge
556109257e
Bug 1205112 - Make `PushEvent.data` nullable. r=mt,smaug
...
--HG--
extra : commitid : 8kofiFgB7WB
extra : rebase_source : 1ff780efd336a9a4214800149c397d9fd3fd6429
2015-09-17 05:13:04 -07:00
Kit Cambridge
cc7189cb64
Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug
...
--HG--
extra : commitid : 10hopC95zuL
extra : rebase_source : c3c9cfac62d1acb234bba2f16b443783354c43a4
2015-09-17 05:10:42 -07:00
Kit Cambridge
6c8172cef8
Bug 1185544 - Add data delivery to the WebSocket backend. r=dragana,nsm
...
--HG--
extra : commitid : EntjTGDbYag
extra : rebase_source : 79b325dacbed5d96fea17ac26a4bc8103c8dfae1
2015-09-17 05:08:50 -07:00
Nikhil Marathe
a7bc045c29
Bug 914481 - Patch 4 - Track why we fail to deliver notifications to Service Workers. r=kitcambridge
...
--HG--
extra : commitid : KencxGyLnVk
extra : rebase_source : f434d61fd6fc74434d55d0617b13f61401bfcb63
2015-09-16 10:28:17 -07:00
Nikhil Marathe
eac943182b
Bug 914481 - Patch 3 - Subscription and quota expiration times. r=kitcambridge, p=ally
...
--HG--
extra : commitid : JADysGJDrMp
extra : rebase_source : dd937d960dd05028806debd00ecc875adfdd08b5
2015-08-06 12:05:47 -07:00
Nikhil Marathe
f293dc5340
Bug 914481 - Patch 2 - Track subscribe and unsubscribe success/failure. r=kitcambridge
...
--HG--
extra : commitid : FkukoQceUNq
extra : rebase_source : f72c91c37c44ba61abb21c69399b45d571bbdcb4
2015-08-05 17:03:49 -07:00
Nikhil Marathe
dee87894d8
Bug 914481 - Patch 1 - Push usage and permissions telemetry. r=kitcambridge
...
--HG--
extra : commitid : FcrPQqWE4k8
extra : rebase_source : 3c39e7c98557163c93cb8bf5e4fe4f0a9ba5376b
2015-08-05 15:12:11 -07:00
Carsten "Tomcat" Book
6bd408e0ae
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)
--HG--
extra : rebase_source : 9496d5740c290bc6d8169782a8f1a2950711f3d7
2015-09-17 12:31:49 +02:00
Nikhil Marathe
ea76ea7a04
Bug 914481 - Patch 4 - Track why we fail to deliver notifications to Service Workers. r=kitcambridge
...
--HG--
extra : rebase_source : 66bb02452a4b5ffb77157d0f7a44d56b327c360c
2015-08-06 16:59:35 -07:00
Nikhil Marathe
6e258d2336
Bug 914481 - Patch 3 - Subscription and quota expiration times. r=kitcambridge, p=ally
...
--HG--
extra : rebase_source : d6a29b72e95cb8b75492d2f7634dcefed86ae2dd
2015-08-06 12:05:47 -07:00
Nikhil Marathe
3fc51ef7fd
Bug 914481 - Patch 2 - Track subscribe and unsubscribe success/failure. r=kitcambridge
...
--HG--
extra : rebase_source : 4d605f0557e9e1b5a40e4a518e5f6c9b53e85068
2015-08-05 17:03:49 -07:00
Nikhil Marathe
af12419237
Bug 914481 - Patch 1 - Push usage and permissions telemetry. r=kitcambridge
...
--HG--
extra : rebase_source : 454b8cb5d061574223fab9f53b649efc5566767b
2015-08-05 15:12:11 -07:00
Shu-yu Guo
64db2267cf
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
a7f75d48d4
Bug 1172502 - Add message encription for WebPush. r=mt r=kitcambridge r=keeler r=smaug
...
--HG--
extra : commitid : FsE5V9w4fej
extra : amend_source : 8b44837b765bd319cadc93a53948264dfbd87ecf
2015-09-11 07:51:32 -07:00
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
Andrea Marchesini
efd3b25c78
Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneUtils.cpp => dom/ipc/StructuredCloneIPCHelper.cpp
rename : dom/ipc/StructuredCloneUtils.h => dom/ipc/StructuredCloneIPCHelper.h
2015-09-02 17:20:30 +01:00
Doug Turner
e70d6a59f1
Bug 1164432. Try disabling test_try_registering_offline_disabled due to too many intermittent failures. r=kitcambridge
...
--HG--
extra : commitid : F7WVEQXl0j5
2015-08-31 12:28:04 -07:00
Nicholas Nethercote
f44287005f
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.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Peterson
1416e566de
Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium
2015-08-25 09:14:38 -07:00
Kit Cambridge
1acca57a40
Bug 1196512 - Use principals to test for push permissions. r=nsm
...
--HG--
extra : commitid : 7scu10UsEc9
extra : rebase_source : ce8993d0662dfea702b82abf54b98a3f318c386f
extra : amend_source : 0ce3c201cebb227a2e16be35e907f42f73426e03
2015-08-19 16:03:15 -07:00
Chris Peterson
6d9eccfa13
Bug 1194580 - Mark dom/push as FAIL_ON_WARNINGS. r=nsm
2015-08-13 20:35:31 -07:00
Muhsin Ali Steiman
f59bd8d992
Bug 1183440 - Replaces Promise.defer() with the Promise constructor in push tests. r=kitcambridge
...
--HG--
extra : commitid : 90WEhC4PKRD
extra : amend_source : ab3ef1029dd8daa831eac49bdb2f682032ac547c
2015-08-14 17:26:07 -07:00
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