Commit Graph

83 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Phil Ringnalda
d42eb10039 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Paolo Amadini
aceee7aafc Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00: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
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
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
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
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
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
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
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
Phil Ringnalda
6edbd4d1af Back out 3 changesets (bug 1210211) for b2g build bustage
CLOSED TREE

Backed out changeset 204a1746f421 (bug 1210211)
Backed out changeset e5d16111e809 (bug 1210211)
Backed out changeset b78d00c9af42 (bug 1210211)
2015-11-16 19:34:14 -08:00
William Chen
658a242e1a Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge
--HG--
extra : commitid : 7VLdKkGHG
extra : rebase_source : 222edbb7684e86e1fd656ad91df6d9ce4661105e
2015-11-16 13:20:20 -08:00
William Chen
e791f70b13 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge
--HG--
extra : commitid : GXDHaPbe8pi
extra : rebase_source : 260a2a8e1434355671b25d58e36007c88b934464
2015-11-16 13:20:09 -08:00
Kit Cambridge
8431cd65cd Bug 1223481 - Use the "potentially trustworthy origin" helper to validate Push server URLs. r=dragana
--HG--
extra : commitid : 6RrHT77kcOj
extra : rebase_source : b5b498cc266e2c1c97459ace3da3febbb6a34e65
2015-11-10 10:50:46 -08:00
Kit Cambridge
53cdf28e5a Bug 1223202 - Only send subscription change events if the Push permission is granted. r=mt
--HG--
extra : commitid : 4m6UEhlrFtl
extra : rebase_source : 512c9e2ea4be850994e891fc8193df17a2788260
2015-11-10 14:27:47 -08:00
Kit Cambridge
b8e624b786 Bug 1210896, Part 2 - Use JS errors to reject internal Push promises. r=mt
--HG--
extra : commitid : CD3LEbvrDYq
extra : rebase_source : d1d633073a8729d67b44ad0f5b19afc50d692ebd
2015-11-09 13:58:50 -08:00
Kit Cambridge
e5aa219f60 Bug 1210896, Part 1 - Use Console.jsm to log Push errors. r=mt
--HG--
extra : commitid : D2lgLoQtSlk
extra : rebase_source : 58bb82b758ef4dc2c4e8b8a7e902c266670347e8
2015-11-09 13:58:32 -08:00