Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533
) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533
)
Backed out changeset 12fc4dee861c (bug 1431533
)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Florian Quèze
721c3ada5e
Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley.
2017-06-23 11:25:18 +02:00
Kit Cambridge
be7ad3ff16
Bug 1345001 - Remove expiring Push telemetry probes. r=liuche
...
We haven't found these probes useful for understanding the value of
Push, and many can be better determined from server metrics.
MozReview-Commit-ID: GM9K59OAbMT
--HG--
extra : rebase_source : b4478fe2aad5ce01ba5955406300973b3e0fb699
2017-03-06 19:06:32 -08:00
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Kit Cambridge
2592d2afc8
Bug 1313063 - Only stop observing `dom.push.userAgentID` if we've finished the handshake. r=dragana
...
MozReview-Commit-ID: 8yjJfbXHLD5
--HG--
extra : rebase_source : a1f5e58d7489e70291598fb130e27a007d4dfd78
2016-10-27 08:55:50 -07:00
Kit Cambridge
fb5b58f401
Bug 1301469 - Handle exceptions thrown by `PushCrypto.decodeMsg` as decryption errors. r=mt
...
Previously, errors thrown by `decodeMsg` and `getCryptoParams` would
bubble up to the catch handler in `receivedPushMessage`, causing us to
report "ACK_NOT_DELIVERED" instead of "ACK_DECRYPTION_ERROR" in the ack
sent to the server.
MozReview-Commit-ID: FZFzYdebQGy
--HG--
extra : rebase_source : b21f15cc9ac12ff11496d4f63ee531c021bd7a29
2016-10-05 08:56:55 -07:00
Sebastian Hengst
ca9181b9de
Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: dom/push. r=kitcambridge
...
MozReview-Commit-ID: 2MbQ54EgOjh
--HG--
extra : rebase_source : f116c1563e6ec290a9be798af49363989b87311d
2016-09-29 19:53:44 +02:00
Kit Cambridge
39cc699a48
Bug 1207744 - Track and re-send push unregister requests on reconnect. r=dragana
...
MozReview-Commit-ID: 2rFLm07n4EU
--HG--
extra : rebase_source : a93554e2320c0ff46e7b66d41f668ecaf75836d4
extra : source : f7e1ab1bd99c05c219fe75913f8f37ba39aec092
2016-06-08 06:13:15 -07:00
Christoph Kerschbaumer
1b81dcec35
Bug 1271198 - Convert Websockets to use AsyncOpen2(). r=jduell
2016-05-17 12:04:11 +02:00
Kit Cambridge
9960b60842
Back out changeset f7e1ab1bd99c (bug 1207744) for X(3) failures.
...
MozReview-Commit-ID: 5mgyh20yXiI
--HG--
extra : rebase_source : d3adb0098eb1615fdd134cbb4f0afd8a151a5066
2016-06-07 20:34:54 -07:00
Kit Cambridge
d8d829d3c8
Bug 1207744 - Track and re-send push unregister requests on reconnect. r=dragana
...
MozReview-Commit-ID: 2rFLm07n4EU
--HG--
extra : rebase_source : 813c59ee7a4ca0c56717343683a54df22f1697de
extra : histedit_source : 9288402c263848c381995c3c9ae52950f6d65467
2016-06-06 16:29:36 -07:00
Kit Cambridge
55b7ef53d9
Bug 1207743 - Track recent push messages to avoid duplicate notifications on reconnect. r=dragana
...
MozReview-Commit-ID: KezPfa0yyO1
--HG--
extra : rebase_source : 86c3b0d78f2772369ebedd11d640a8b05e46d24f
extra : histedit_source : 531a495b7b3b3d8d4bf8b399f6beebf0805ac3bc
2016-06-04 13:17:12 -07:00
Kit Cambridge
978954c755
No bug - Use the correct protocol for insecure Push server URLs. r=me
...
MozReview-Commit-ID: FmYTQMSIhkP
--HG--
extra : rebase_source : 9a17f7678d6e676e7aff85efbd0cbad7d6cf312a
2016-05-27 17:30:39 -07:00
Sebastian Hengst
468fcc6924
Backed out changeset 2292661153e3 (bug 1271198) for web-platform failures. r=backout on a CLOSED TREE
2016-05-19 17:06:04 +02:00
Christoph Kerschbaumer
bbc661631e
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 15:42:01 +02:00
Sebastian Hengst
d6e3286232
Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE
2016-05-19 14:23:51 +02:00
Christoph Kerschbaumer
0e2d46a840
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 11:54:02 +02: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
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
Johann Hofmann
5c9a95e828
Bug 1262559: Fix misspelled comment in dom/push/PushServiceWebSocket.jsm; r=jdm
...
MozReview-Commit-ID: 6UhyYkb08Fr
--HG--
extra : histedit_source : 9260c1a47682a239d09f91dfe59d0b39e5d9335a
2016-04-06 20:18:04 +02: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
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
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
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
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
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
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
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
Kit Cambridge
4792069b33
Bug 1218591 - Reset the WebSocket retry counter when the server replies. r=dragana
...
--HG--
extra : commitid : L8bN4lFe50x
2015-10-28 17:07:11 -07:00
Dragana Damjanovic
4cd1bc150b
Bug 1216683 - For the WebSocket version unregister should return true even if we are offline. r=kitcambridge
2015-10-27 09:13:00 +01:00
Carsten "Tomcat" Book
6dfc4c0fb5
merge mozilla-inbound to mozilla-central a=merge
2015-10-27 10:55:48 +01:00
Wes Kocher
167aaf2232
Merge m-c to fx-team, a=merge
...
--HG--
extra : commitid : JnFqljHzGAU
2015-10-26 14:39:31 -07:00
Andrea Marchesini
8ec6671244
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal
2015-10-26 15:29:28 +00:00
Nick Alexander
094c128f78
Bug 1214366 - Part 1: Don't preprocess PushServiceWebSocket.jsm. r=kitcambridge
...
Just a little build system clean-up. There's no reason for this to be
special, and it's easier to use in the debugger with correct line
numbers.
--HG--
extra : commitid : JCVz3bj1bH5
extra : rebase_source : 73c3556e84f8e4b1189f54bad544033bdf27eb48
2015-10-16 14:04:37 -07:00
Kit Cambridge
641f7ea40a
Bug 1217065 - Unconditionally ack incoming updates. r=dragana,benbangert
...
--HG--
extra : commitid : B1gV3zsa54r
2015-10-22 10:32:33 -06:00
Kit Cambridge
bca5312693
Bug 1206163 - Retry failed register requests on reconnect. r=dragana
...
--HG--
extra : commitid : ITUpqPr1O3m
extra : amend_source : 8c9062cd1d3fcecc5b78ea0773fff3c618b440b5
2015-10-22 10:14:43 -06:00
Kit Cambridge
421c7b6540
Bug 1201128 - Don't send channel IDs in the Push handshake. r=nsm
...
--HG--
extra : commitid : 7fv5Up5JnkG
extra : rebase_source : 462ffb3f9b6caefa2d27f41e69e0c1d0c98f6690
2015-10-26 08:42:29 -07:00
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
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
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