Commit Graph

260 Commits

Author SHA1 Message Date
Nick Alexander
5f7db00eeb No bug - Use default skip-if. r=me
We want to change this to run these tests on Fennec (but not b2gdroid);
this'll make it easier.  In addition, this makes it easier to rebase
Fennec Push patches that touch this file.

MozReview-Commit-ID: 97UftkziZ4A
2016-02-15 09:54:23 -08:00
Carsten "Tomcat" Book
b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Marco Bonardo
d1f0a04370 Bug 1243778 - PushRecord::getLastVisit cannot rely on the Places url index anymore. r=kitcambridge
--HG--
extra : commitid : 4zr7xfJixhU
extra : rebase_source : b3fa86b314d338b2ee0fc846d212ba6bb6c2ab0c
2016-02-08 14:42:07 +01:00
Kit Cambridge
efe23eadc2 Back out 2 changesets (bug 1243856) for intermittent xpcshell failures on a CLOSED TREE.
--HG--
extra : commitid : HOS6utihBe9
2016-02-05 22:39:23 -08:00
Dragana Damjanovic
124d661902 Bug 1246632 - Fix ackMsgRecv in PushServiceHttp2.js. r=kitcambridge 2016-02-08 06:40:00 +01:00
Kit Cambridge
7242c3549a Bug 1243856 - Remove alarms from the Push H2 backend. r=dragana
--HG--
extra : commitid : IdPNgHFGj1O
extra : rebase_source : c98f56b8c9e4683cf77ebd4269c834579d7651dd
2016-02-03 18:16:10 -08:00
Kit Cambridge
7bdf56f6bd Bug 1243856 - Remove alarms from the Push WebSocket backend. r=dragana
--HG--
extra : commitid : BFuMZVMSDs0
extra : rebase_source : 072f03fc57886b4fac2b3727c8258e0177960127
2016-02-03 15:27:34 -08:00
Kit Cambridge
6a09c44325 Bug 1219064 - Add test for extendable pushsubscriptionchange event. r=mt
--HG--
extra : commitid : 11uVDDnvoeE
extra : rebase_source : 04651f9d10fe23b719800e0cf31174ba0239fd5e
2016-01-28 19:26:17 -08:00
Kit Cambridge
d977630d47 Bug 1243781 - Push methods called from a worker should reject with a DOMException. r=mt
--HG--
extra : commitid : GyMrfLbnMVY
extra : rebase_source : a68422c66ede9f3eaca14de1d966be75ebd622b9
2016-01-28 08:23:29 -08:00
Kit Cambridge
3439243de8 Bug 1191931, Part 2 - Test resubscribing from a worker. r=mt
--HG--
extra : commitid : 6ZboHyRd5dR
extra : rebase_source : 074381c7b5133f7c4f37ab660cfd7afa54a23c65
2016-01-28 08:06:32 -08:00
Kit Cambridge
02f444f5c0 Bug 1191931, Part 1 - Use tasks in the Push subscription tests. r=mt
--HG--
extra : commitid : EAUs5BX5o9E
extra : rebase_source : 4590d5d3a08ff89b35c9c237a910e8e4690c80ba
2016-01-28 07:57:42 -08:00
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Wes Kocher
1b65a8ee2f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Carsten "Tomcat" Book
75413d36fe Merge mozilla-central to fx-team 2016-02-01 16:26:01 +01:00
Carsten "Tomcat" Book
9a95326890 Backed out changeset 02bcedf966fd (bug 1191931) for still failing push perma failure 2016-02-01 12:41:03 +01:00
Carsten "Tomcat" Book
6f89c9107b Backed out changeset 6df33c3ef63b (bug 1191931) 2016-02-01 12:40:38 +01:00
Carsten "Tomcat" Book
0cc03eb73c Backed out changeset 6d13649d2f01 (bug 1243781) 2016-02-01 12:40:36 +01:00
Carsten "Tomcat" Book
dec75fcac9 Backed out changeset eaa49fbb1bc2 (bug 1219064) for perma failures in test_data.html 2016-02-01 10:06:43 +01:00
Paolo Amadini
ecd744bdef Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Kit Cambridge
b66b3437fe Bug 1219064 - Add test for extendable pushsubscriptionchange event. r=mt
--HG--
extra : commitid : lQLs1WCMV3
extra : rebase_source : d12d9e7fde179d4135c2a1b224e50e75b61dc6ba
2016-01-28 19:26:17 -08:00
Kit Cambridge
cb042fa9d8 Bug 1243781 - Push methods called from a worker should reject with a DOMException. r=mt
--HG--
extra : commitid : 8agVK4llzMA
extra : rebase_source : 9f646dee24cc980bef4b01a86550e4e0f12bba14
2016-01-28 08:23:29 -08:00
Kit Cambridge
79cd67d0dc Bug 1191931, Part 2 - Test resubscribing from a worker. r=mt
--HG--
extra : commitid : KDSIPXbjSMK
extra : rebase_source : 11e26748ef2f3762e3b8c046e4eef4a477562369
2016-01-28 08:06:32 -08:00
Kit Cambridge
f7a0799918 Bug 1191931, Part 1 - Use tasks in the Push subscription tests. r=mt
--HG--
extra : commitid : 5Pl1YQzsI9W
extra : rebase_source : d7acb5a8841fe60fa3aec5618f687da74ab0ed9a
2016-01-28 07:57:42 -08:00
Kit Cambridge
677a30a51e Bug 1228723 - Avoid a promise worker proxy deadlock caused by synchronous Push callbacks. r=catalinb
--HG--
extra : commitid : 29ql3bnJye1
extra : rebase_source : 65b740bf55f7ca0b3cd2bc93d77b5a952d9a9feb
2016-01-26 12:16:32 -08:00
Bogdan Postelnicu
cc6b262ac4 Bug 1242436 - default value of ok = true in order to check the return of SendPush and SendPushSubscriptionChange. r=kitcambridge
--HG--
extra : rebase_source : 9824f8cea277bc6bf3cda2b0aba8e7336a88bd17
2016-01-25 14:47:06 +02:00
Kit Cambridge
a2a02af8bf Bug 1239584, Part 3 - Update tests. r=dragana
--HG--
extra : commitid : KIDc3UHjz1N
extra : rebase_source : 9eccff6802a9453cfe5b3b318d38d13f1aab8a09
2016-01-13 22:26:57 -07:00
Kit Cambridge
942b8f74cd Bug 1239584, Part 2 - Remove message manager usage from PushService.jsm. r=dragana
--HG--
extra : commitid : E25BNJCu4Wo
extra : rebase_source : 35d653077881c5736611745cf81463118040b0b5
2016-01-13 22:24:37 -07:00
Kit Cambridge
9e4ed15128 Bug 1239584, Part 1 - Add nsIPushNotifier and nsIPushMessage interfaces. r=dragana
--HG--
extra : commitid : HD2fDINypFu
extra : rebase_source : 477ab56822deb5e6423c8f9b36f1a5c119d07951
2016-01-13 22:19:51 -07:00
Kit Cambridge
f398300afc Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE.
--HG--
extra : commitid : 74RywJW7UVo
extra : amend_source : 2088096e01cb7b6fda50c87f05d427cd79147554
2016-01-22 11:06:14 -08:00
Kit Cambridge
555408c01b Bug 1239584, Part 3 - Update tests. r=dragana
--HG--
extra : commitid : JbCjwPZWvMU
extra : rebase_source : 4c2e62fd4029ed5b5b7df4e0a6fc96404cc40845
2016-01-13 22:26:57 -07:00
Kit Cambridge
9c253cf89e Bug 1239584, Part 2 - Remove message manager usage from PushService.jsm. r=dragana
--HG--
extra : commitid : IzTj986v21P
extra : rebase_source : addf54af599fd1f930cdf1e5e72751ff962e5bf2
2016-01-13 22:24:37 -07:00
Kit Cambridge
ecc52d87d2 Bug 1239584, Part 1 - Add nsIPushNotifier and nsIPushMessage interfaces. r=dragana
--HG--
extra : commitid : F7MFsrMAXQy
extra : rebase_source : 3333eed45b538bccbdf2761a91fb5fada8fcf922
2016-01-13 22:19:51 -07:00
Kit Cambridge
0333c16142 Bug 1239558 - Exempt system Push subscriptions from quota and permissions checks. r=dragana
--HG--
extra : commitid : 6weiBkKPMVj
extra : rebase_source : b5d6479902725a37c5b212bc4b23dc8296f34c9a
2015-12-16 09:21:22 -08:00
Christoph Kerschbaumer
84b03c8a8e Bug 1232910 - Use channel.asyncOpen2 within dom/push/PushServiceHttp2.jsm. r=sicking r=dragana 2016-01-19 20:00:18 -08:00
Nick Alexander
dcde606dc7 Bug 1240615 - Make PushService protocol init method return a Promise. r=kitcambridge
I'd like to make `PushService.init` fallible, but it's not obvious how
to act on failure.  This patch at least allows each service to block
_startService until service-specific work initialization is complete.

--HG--
extra : rebase_source : 641bb24429116b4a1db10343b04f83cc6331dc39
2015-11-18 15:55:13 -08:00
Kit Cambridge
1c0dc1a969 Bug 1205137 - Add a PushSubscription serializer. r=mt,smaug
--HG--
extra : commitid : F5xjqIFcach
extra : rebase_source : 61b0a0cbae318f7afc51752fc31a7133b8abd15c
2015-12-14 16:28:19 -08:00
Kit Cambridge
7963856ba1 Bug 1189998, Part 4 - Add authentication secret to Push data test. r=dragana
--HG--
extra : commitid : KJvXUjiZrTC
extra : rebase_source : 49c8b9529ba9b47e67852c3b8c43a26017f1b31f
2015-12-11 11:16:46 -05:00
Kit Cambridge
a15219cdc8 Bug 1189998, Part 3 - Update consolidated Push tests. r=mt
--HG--
extra : commitid : 14SSmeaQP4S
extra : rebase_source : 16e10ef52149e6002d5196595662bef45a00205f
2015-12-08 15:41:57 -05:00
Kit Cambridge
2aac6b9fea Bug 1189998, Part 2 - Migrate Push service callers. r=mt
--HG--
extra : commitid : Irrl5pvEqC
extra : rebase_source : 11c261c95820225bcc50976956000f34a79f9578
2015-12-08 15:41:48 -05:00
Kit Cambridge
d1e4feb4e5 Bug 1189998, Part 1 - Consolidate Push client interfaces. r=mt,dragana
--HG--
extra : commitid : GZtcmH86Wg4
extra : rebase_source : b1f7410370991819a29c9142d6dee11261f09905
2015-12-08 15:41:41 -05:00
Martin Thomson
0a36983413 Bug 1225968 - Adding more messages to the push message tests, r=kitcambridge
--HG--
extra : commitid : DKvDzgHBTd7
extra : rebase_source : 953a864bb23b9b24d14957e49490fdcf1ed36818
2015-12-05 21:51:59 +11:00
Martin Thomson
0b2ee432a6 Bug 1225968 - Refactoring to move some of the push crypto logic, r=kitcambridge
--HG--
extra : commitid : DCuRgytkyJI
extra : rebase_source : de8696757ea1ae71071f8e53bed51eb218a6f20e
2015-12-04 08:24:47 +11:00
Martin Thomson
d8c0edad16 Bug 1225968 - Refactor data delivery tests to support addition of new tests, r=kitcambridge
--HG--
extra : commitid : BDX6sCt4cbd
extra : rebase_source : b13732d37c0fce50816f7e96a03f9bf3a8e76458
2015-11-20 14:21:24 -08:00
Martin Thomson
6e6387eecb Bug 1225968 - Add authentication secret to push API, r=kitcambridge,smaug
--HG--
extra : commitid : 5qD0xsj9DLR
extra : rebase_source : 407d4152f897f87fa9b5fae8b6b93ef510cce59f
2015-12-09 07:26:42 +11:00
Fernando Jimenez
d4b4ef35f7 Bug 1227908 - JavaScript error: resource://gre/modules/PushService.jsm, line 281: ReferenceError: data is not defined. r=kcambridge 2015-11-26 16:52:54 +01:00
Boris Zbarsky
35f1292e72 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05:00
Kit Cambridge
da70e5e668 Bug 1170115 - Use clear-origin-data to remove Push records. r=allstars.chh
--HG--
extra : commitid : HPTqiGSIMbc
extra : rebase_source : 04ebebe52cd847c2258913ca97ed2dcc09aa9c32
2015-11-13 15:18:10 -08:00
William Chen
551e115461 Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge
--HG--
extra : commitid : 6jOIM2i8D3P
extra : rebase_source : 2c3dbcb73f561d8a6132f465148b59d269f96d8b
2015-11-16 21:34:00 -08:00
William Chen
cfff602824 Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku
--HG--
extra : commitid : JIe7odI4Fgo
extra : rebase_source : f71dc1cf94def6ad72db773c1ba77473149f8359
2015-11-16 21:33:17 -08:00
William Chen
8588891ca7 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge
--HG--
extra : commitid : 70QSm4u4WLW
extra : rebase_source : e52cc3bae822448e64dca6c40be48d74ea924e0b
2015-11-16 21:33:11 -08:00