Kit Cambridge
29e9262000
Bug 1272054 - Replace "PermissionDeniedError" with "NotAllowedError" in the Push API. r=mt
...
MozReview-Commit-ID: Bn0bE3eALj4
--HG--
extra : transplant_source : %83%A7%C1%CB%00%BD%C8%60A%09%CA%FB%02M%5DbU%AB%04C
2016-05-11 10:48:31 -07:00
Kit Cambridge
f2f4e5708d
Bug 1206424 - Ensure `daysElapsed` is always non-negative when updating the push quota. r=wchen
...
--HG--
extra : rebase_source : 4c203d359f7bf965591442a3755675fd1d37ba3c
2016-05-09 20:54:05 -07:00
Kit Cambridge
de899472f4
Bug 1269436 - Always pass the principal to push observer notifications. r=dragana
...
MozReview-Commit-ID: J1vU3nRKlsa
--HG--
extra : rebase_source : 9a1fabbdc42afb92a224fb5e89c2eaf106943cc9
2016-05-02 09:38:47 -07:00
Kit Cambridge
a186376653
Bug 1269385 - Notify Dev Tools when a push subscription is modified. f=janx r=dragana
...
MozReview-Commit-ID: 3iTl7jH9IkB
--HG--
extra : rebase_source : 4b3fe86714564373cd4fc1efc10239e12b8bbc76
2016-05-02 08:20:14 -07:00
Kit Cambridge
c90a3eecfc
Bug 1185716 - Unregistering a service worker should drop its push subscription. r=bkelly
...
MozReview-Commit-ID: A5MtdADIQVV
--HG--
extra : rebase_source : 2a87866053ee500a245b5496c8810e19bd9490ee
2016-05-03 11:44:40 -07:00
Kit Cambridge
7e0401c6d3
Bug 1267889 - Always steal the error result in `PushMessage::Json`. r=dragana
...
MozReview-Commit-ID: FOpIoIYBCFW
--HG--
extra : rebase_source : b58a1e9a9199ec781afb7a1dde77b250711d8510
extra : amend_source : b2cb82443ee0022f036d318d33e16f3de0ecf406
2016-04-26 18:26:30 -07:00
Kit Cambridge
91fa002ac4
Bug 1267493 - Replace `isURIPotentiallyTrustworthy` usage in Push with a testing pref. r=dragana
...
MozReview-Commit-ID: LrjAyVeNMyI
--HG--
extra : rebase_source : 7b2f821a80f853986bb196d8fc5e1eae9d77fd48
2016-04-25 20:53:06 -07:00
Kit Cambridge
14ee7e9341
Bug 1266433 - Indicate push subscriptions created by privileged code. r=dragana
...
MozReview-Commit-ID: HYKndQiU98U
--HG--
extra : rebase_source : 5671a231b02dacf71de77a0d15c284c9b6365a73
2016-04-23 19:41:59 -07:00
Kit Cambridge
87fd821095
Bug 1266433 - Send an observer notification when a push subscription is lost. f=janx r=dragana
...
MozReview-Commit-ID: EjCVWje2jLB
--HG--
extra : rebase_source : 1cab8dfb1514a44a6e36f37e55e520ebaa343659
2016-04-21 12:04:15 -07:00
Kit Cambridge
4a32c937e7
Bug 1266433 - Send Push observer notifications to parent and content processes. f=janx r=dragana
...
MozReview-Commit-ID: 1aUS8HcQApo
--HG--
extra : rebase_source : 63c35b05cf9219c311ce96cd99932c6c20bd1e0c
2016-04-21 11:11:03 -07:00
Kit Cambridge
341af4d90b
Bug 1265914 - Remove Push UDP wake-up. r=dragana
...
MozReview-Commit-ID: 9uyrp75slCX
--HG--
extra : rebase_source : 92c211831bfb732ddf3b86eefd259b878f3ea7d5
extra : histedit_source : d363fd7b1fcaa0dfc48ff15425e0400ea91d6c20
2016-04-19 17:29:16 -07:00
Kit Cambridge
49323c9a2d
Bug 1265915 - Remove adaptive pings from the Push WebSocket backend. r=dragana
...
MozReview-Commit-ID: 9QuMFgIlOPQ
--HG--
extra : rebase_source : bee5228f2658bb1f01639a57af469054e5984080
extra : histedit_source : 0883971413987576abe6949819eb1377471aa0e6
2016-04-19 16:41:12 -07:00
Kit Cambridge
4f645f9bfe
Bug 1247685 - Send subscription keys to the Push server. r=mt
...
MozReview-Commit-ID: 2i3UqgNGlEt
--HG--
extra : rebase_source : 9c30f34c7de7c9fa7f04db5f224bad3ac0e68904
2016-03-22 16:29:16 -07:00
Kit Cambridge
d21d6da5e8
Bug 1256488 - Add a Base64 URL-decoder for C++ and chrome JS callers. r=mt,baku
...
MozReview-Commit-ID: IrDwImYfHRu
--HG--
extra : rebase_source : ed7da7447e5d70c596234961625fcd4b8139814f
2016-03-22 12:09:04 -07:00
Kit Cambridge
eafb9be496
Bug 1258595 - Wait for the Push service to shut down between tests. r=wchen
...
MozReview-Commit-ID: 1Ujqn1xNsMU
--HG--
extra : rebase_source : b51da9e58ce9904acff0202d57e258f1355076a1
extra : amend_source : 2ab09ebeb828a4ced87e88a0ced0447d2dfb8480
2016-04-08 11:39:00 -07:00
Kit Cambridge
ab3c075f11
Bug 1258595 - Shut down the Push service if errors occur at startup. r=wchen
...
MozReview-Commit-ID: HMWMJ5qPGwY
--HG--
extra : rebase_source : a59107cac8bd428ca521271be9045797e927b0cc
extra : source : 6733c0861332ad11ae84b9aedb0bc5ab642fa085
2016-03-21 18:07:16 -07:00
Carsten "Tomcat" Book
39feff8fe1
Backed out changeset 6733c0861332 (bug 1258595) for m3 test failures
2016-04-07 14:22:33 +02:00
Kit Cambridge
9115d2a29b
Bug 1258595 - Shut down the Push service if errors occur at startup. r=wchen
...
MozReview-Commit-ID: HMWMJ5qPGwY
--HG--
extra : rebase_source : 348180c6eb9bfac5222371edaaa7850f750dabac
2016-03-21 18:07:16 -07:00
Kit Cambridge
a6d5a040d9
Bug 1257821 - Remove the authenticated `aesgcm128` content coding scheme. r=mt,marco
...
MozReview-Commit-ID: 5pX2GHJ2lNz
--HG--
extra : rebase_source : 8747786a915e0adb3be7555dd1648e3e03b4fbf0
2016-03-22 19:20:36 -07:00
Kit Cambridge
f57e60c641
Bug 1247089
- Log Web Push decryption errors. r=bkelly
...
MozReview-Commit-ID: HEEq8IPlwBx
--HG--
extra : rebase_source : 8501836fa322b3a09ffec21e83fdb32e4aa3abf5
2016-03-28 13:33:20 -07:00
Kit Cambridge
18c5c296ef
Bug 1246341 - Add a test for push event error reporting. r=dragana
...
MozReview-Commit-ID: LABOJnYtpD5
--HG--
extra : rebase_source : 86c27b8a2deb388cdb34a82aebd12b042477acb5
2016-03-28 11:40:58 -07:00
Kit Cambridge
d97d284c24
Bug 1246341 - Include status codes in "ack" and "unregister" requests. r=dragana
...
MozReview-Commit-ID: Gsh3FhTfvkX
--HG--
extra : rebase_source : 94b9afcf006a6201f01875df1aae20c8bb52fb76
2016-03-28 12:29:25 -07:00
Kit Cambridge
8943858ebf
Bug 1253831 - Don't check actual intervals in the Push backoff test. r=wchen
...
MozReview-Commit-ID: CUESwtv58LJ
--HG--
extra : rebase_source : 600b8baeeea6334726c88bf1cba64b2d5635c405
2016-03-19 15:29:11 -07:00
Kit Cambridge
bc0b536de1
Bug 1257821 - Support the new `aesgcm` content encoding scheme. r=mt
...
MozReview-Commit-ID: IPNXletzJRK
--HG--
extra : rebase_source : 3593624d3513a0ccc7422bfeefe5c85dca37541a
2016-03-18 09:01:50 -07:00
Kit Cambridge
755fc071a9
Bug 1258883 - Add a way to replace the entire Push service in tests. r=wchen
...
MozReview-Commit-ID: ExJPShvXL5L
--HG--
extra : rebase_source : acafdaf81a8c47d811772dfabc24e001a69d429b
2016-03-22 17:34:41 -07:00
Kit Cambridge
896fb82ab8
Bug 1258145 - Remove `waitForPromise` from the xpcshell tests. r=wchen
...
MozReview-Commit-ID: 6dX63gyXw07
--HG--
extra : rebase_source : b5638140200403f4441ab2a60d69b3baae6d6de6
2016-03-19 14:57:15 -07:00
Ryan VanderMeulen
dd9dced81d
Merge inbound to m-c. a=merge
2016-03-19 11:22:28 -04:00
Ryan VanderMeulen
d37d8fbb9a
Bug 1257708 - Move dom/push/test back into mochitest-plain instead of a separate test suite.
2016-03-19 11:02:04 -04:00
William Chen
1d955fb568
Bug 1164432 - Update test_try_registering_offline_disabled.html to use mock push server. r=kitcambridge
2016-03-19 00:35:57 -07:00
Ryan VanderMeulen
ae58ec8c78
Backed out changeset 7e63f8cd76bb (bug 1164432) for test_try_registering_offline_disabled.html failures.
2016-03-19 00:01:19 -04:00
William Chen
a07586e88d
Bug 1164432 - Update test_try_registering_offline_disabled.html to use mock push server. r=kit
2016-03-18 00:20:00 -04:00
Kit Cambridge
fa6e8e2743
Bug 1257405 - Increase auth secret length to 16 octets. r=mt
...
MozReview-Commit-ID: 3oiYMgQHckk
--HG--
extra : rebase_source : b15e184c0ffd3845eaf913ec5cdb654b9a7a1932
2016-03-16 19:53:19 -07:00
William Chen
6f3a1d7c9e
Bug 1244816 - Create PushService mock for mochitests backed by a mock web socket. r=kitcambridge
2016-03-17 17:11:22 -07:00
Wes Kocher
0fbf6c1476
merge inbound to m-c a=merge
...
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
vladikoff
5ceebef356
Bug 1247786 - Add push subscription to device registration r=kitcambridge,markh
...
MozReview-Commit-ID: 40Tt8sJPYrr
--HG--
extra : rebase_source : e80d3230a7a38e2b28c736cb0188c60be1d6a871
2016-03-07 00:00:34 -05:00
Mark Hammond
61b041057e
Bug 1252290 - load xpcom services registered with the category manager as being able to handle push notifications before delivering them. r=kitcambridge
2016-03-07 16:46:10 +11:00
Kit Cambridge
f82589cbd1
Bug 1243856 - Remove alarms from the Push WebSocket backend. r=dragana
...
MozReview-Commit-ID: c1P4xK8txJ
--HG--
extra : rebase_source : 879c96a6e3d7a691b8e377d24644e5a1888a2c75
extra : source : a8e2c9ff57a72a4810453643a571a42c96b6a10c
2016-02-03 15:27:34 -08:00
Kit Cambridge
d2fcfdda5d
Bug 1253438 - Expose Push observer notification topics. r=markh
...
MozReview-Commit-ID: HublNSAD3NY
--HG--
extra : rebase_source : ca89fad6bfafa403e97c1e1defc4d3a0673af430
2016-03-03 14:37:10 -08:00
J. Ryan Stinnett
2a55d065b7
Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
...
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement. Other
methods that pass these values around also have name changes.
Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc. No changes are made to any
serialization formats. Only runtime method and variable names are updated.
No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations. These are corrected in subsequent patches
focused on behavior.
MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Ehsan Akhgari
119e7f4cad
Bug 1232029 - Set some prefs that some tests rely on explicitly; r=bkelly
2016-03-01 10:09:06 -05:00
Ehsan Akhgari
8a0731fdde
Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly
2016-03-01 09:16:38 -05:00
Kit Cambridge
10df43f248
Bug 1250266 - Always send a TTL in the Push mochitests. r=benbangert
...
MozReview-Commit-ID: 4hoBveTY2pE
--HG--
extra : rebase_source : a1728e6b23c5852d1ca2977fb9d150891568791d
2016-02-22 11:54:54 -08:00
Kit Cambridge
ff6fdbef17
Bug 1246073 - Fix unique constraint errors in the H2 backend when resubscribing. r=dragana
...
MozReview-Commit-ID: DciQIx9T99U
--HG--
extra : rebase_source : 4d9c3a40626280bdada21e58c3112b70b3ac5b2d
2016-02-04 20:17:07 -08:00
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
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
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