Commit Graph

21130 Commits

Author SHA1 Message Date
Olli Pettay
1a587403e7 Bug 1668083 - when redirecting load from post to get, load should become replacing load also in session history, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D93249
2020-10-13 16:36:11 +00:00
Aaron Klotz
865e038207 Bug 1668376: Part 1 - Rename GeckoProcessManager::MarkAsDead to GeckoProcessManager::ShutdownProcess; r=geckoview-reviewers,necko-reviewers,agi,dragana
Since the semantics of `ContentParent::MarkAsDead` are significantly different
from `GeckoProcessManager::MarkAsDead`, let's rename the latter to better
reflect what it actually does.

Differential Revision: https://phabricator.services.mozilla.com/D92649
2020-10-06 20:25:02 +00:00
Christoph Kerschbaumer
88e9eb0d02 Bug 1665062: HTTPS-Only: Upgraded website creating HTTP auth prompt gets interrupted by error-page r=necko-reviewers,dragana,JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D91908
2020-10-13 14:06:28 +00:00
Dragana Damjanovic
5ee4d78cb9 Bug 1670089 - Fix transactions WriteSegments issue with http3. r=necko-reviewers,valentin
The problem occurs when a response does not have a body. In this case the transaction will never be closed.  if a transaction only has read headers, WriteSegments will return 0 bytes written(bug 1646701) and WriteSegments will not be called again and the transaction will not pickup the FIN bit.

Some code improvements:
- calling WriteSegments in a loop has been moved to Http3Stream. This is more appropriate place
- remove RECEIVED_RESET, because it is not used
- add test and add head_http3.js for setting up http3 tests (e.g. making sure that an alt-svc mapping is setup)
- fix handling of a response that has more data than its content-length header indicates.

Differential Revision: https://phabricator.services.mozilla.com/D92990
2020-10-13 09:40:24 +00:00
JulianWels
b88cf407ac Bug 1608074 - Set channel ReferrerInfo in privileged code instead of referrer header r=nchevobbe,mixedpuppy,valentin
Differential Revision: https://phabricator.services.mozilla.com/D59856
2020-10-13 12:27:26 +00:00
Mihai Alexandru Michis
55dd1dbe43 Backed out changeset b3fb1b5bbe34 (bug 1608074) for causing bustages in XMLHttpRequestMainThread.cpp
CLOSED TREE
2020-10-13 14:55:06 +03:00
JulianWels
2ae8134434 Bug 1608074 - Set channel ReferrerInfo in privileged code instead of referrer header r=nchevobbe,mixedpuppy,valentin
Differential Revision: https://phabricator.services.mozilla.com/D59856
2020-10-13 10:39:11 +00:00
Dragana Damjanovic
2f6b73bd1e Bug 1670085 - Http3 cannot be dispatch using OnMsgReclaimConnection. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93323
2020-10-13 09:10:05 +00:00
Frederik Braun
d0107a4b05 Bug 1641190 - allow requests from systemprincipal for AltSvc request r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93221
2020-10-13 08:50:31 +00:00
ffxbld
4c9d801663 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D93223
2020-10-12 14:35:15 +00:00
Bas Schouten
25a1b0f61f Bug 1669256 - Part 1: Remove AbstractEventQueue and de-templatize ThreadEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92709
2020-10-09 17:56:34 +00:00
Matt Woodrow
d54cb42cc5 Bug 1642951 - Don't fill the nsBufferedStream buffer when seeking to 0, to avoid opening lazy inner streams. r=baku,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91362
2020-10-09 04:38:10 +00:00
Kershaw Chang
883455945d Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-08 13:26:03 +00:00
Christoph Kerschbaumer
faf05f7d19 Bug 1552168: Remove pref security.data_uri.unique_opaque_origin. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92087
2020-10-08 16:55:25 +00:00
ffxbld
60a6414375 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D92940
2020-10-08 14:54:02 +00:00
Dragana Damjanovic
226b522fe0 Bug 1669680 - Read from a neqo stream in a loop until all data re read or thee stream consumer can not handle more data. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D92753
2020-10-07 18:24:31 +00:00
Razvan Maries
d359081e12 Backed out changeset aaf5c5213d8d (bug 1665062) for perma failures on test_http_background_auth_request.html. CLOSED TREE 2020-10-07 17:51:55 +03:00
Christoph Kerschbaumer
d43cc4af7e Bug 1665062: HTTPS-Only: Upgraded website creating HTTP auth prompt gets interrupted by error-page r=necko-reviewers,dragana,JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D91908
2020-10-07 11:47:07 +00:00
Razvan Maries
f56817ceee Backed out changeset da4cf62e21fb (bug 1668851) for perma failures on browser_cdp.js. CLOSED TREE 2020-10-07 15:08:01 +03:00
Kershaw Chang
d1927c3c05 Bug 1666620 - Close the transaction when Http3Session::Init failed, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91115
2020-10-07 08:48:38 +00:00
Kershaw Chang
347295305d Bug 1652717 - P2: Implement fast fallback when H3 is used r=necko-reviewers,valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D90998
2020-10-07 08:48:25 +00:00
Kershaw Chang
c35e553d02 Bug 1652717 - P1: Make sure we can connect to Http3 server according to HTTPS RR r=necko-reviewers,valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D90997
2020-10-07 09:14:59 +00:00
Kershaw Chang
e15e30d8c5 Bug 1665878 - Reset exclusion list when all target names are all excluded, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D90822
2020-10-06 20:06:53 +00:00
Kershaw Chang
beca4c9d74 Bug 1652713 - Implement fallback mechanism when echConfig is enabled, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D90673
2020-10-06 20:06:55 +00:00
Kershaw Chang
003f18dacb Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-07 08:00:56 +00:00
Kershaw Chang
f29527e029 Bug 1656697, r=valentin,necko-reviewers
The root cause in this bug is that the connection info used by `SpdyConnectTransaction` is the same instance as the connection info in `nsHttpTransaction`, so we should clone it and let `SpdyConnectTransaction` use the cloned one.

Differential Revision: https://phabricator.services.mozilla.com/D89801
2020-10-06 14:58:30 +00:00
Dorel Luca
5c6d2146ce Backed out 5 changesets (bug 1652717, bug 1665878, bug 1666620, bug 1652713) for XPCshell failures in components/migration/tests/unit/xpcshell.ini. CLOSED TREE
Backed out changeset 6322b86e1df4 (bug 1666620)
Backed out changeset ab09fd84e0e4 (bug 1652717)
Backed out changeset 018c0eebe944 (bug 1652717)
Backed out changeset 1636234a4768 (bug 1665878)
Backed out changeset 395117cd7b25 (bug 1652713)
2020-10-06 22:39:34 +03:00
Sylvestre Ledru
0bb0c0e4cf Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,necko-reviewers,dragana,whimboo
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D92460
2020-10-06 16:12:13 +00:00
Sylvestre Ledru
d9cd198ba1 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D92459
2020-10-06 16:12:00 +00:00
Dragana Damjanovic
030fcd3a0e Bug 1667351 - Process neqo events immediately after a cert authentication is done. r=necko-reviewers,valentin
Currently we call ResumeSend() which will not process neqo events. It will only produce new packets. We are relying on other events, like timeout or a receive packet to trigger this.

Differential Revision: https://phabricator.services.mozilla.com/D92113
2020-10-05 19:03:55 +00:00
Dragana Damjanovic
3c5f61beb2 Bug 1669449 - Make sure the output array is empty before calling GetEvent r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D92563
2020-10-06 11:12:13 +00:00
Kershaw Chang
263a19bfb2 Bug 1669270 - Don't call OnProxyConnectComplete if it's websocket over h2 r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D92494
2020-10-06 08:42:01 +00:00
Kershaw Chang
7b741eaca1 Bug 1668802 - Remove SpdyConnectTransaction::mConnInfo r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D92441
2020-10-05 14:44:03 +00:00
Kershaw Chang
6531bf10b8 Bug 1666620 - Close the transaction when Http3Session::Init failed, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91115
2020-10-06 10:53:38 +00:00
Kershaw Chang
c8a92b9fee Bug 1652717 - P2: Implement fast fallback when H3 is used r=necko-reviewers,valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D90998
2020-10-06 11:26:57 +00:00
Kershaw Chang
24121cf263 Bug 1652717 - P1: Make sure we can connect to Http3 server according to HTTPS RR r=necko-reviewers,valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D90997
2020-10-06 10:51:58 +00:00
Kershaw Chang
4ab4ff8981 Bug 1665878 - Reset exclusion list when all target names are all excluded, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D90822
2020-10-06 09:48:05 +00:00
Kershaw Chang
99208e5b56 Bug 1652713 - Implement fallback mechanism when echConfig is enabled, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D90673
2020-10-06 09:47:52 +00:00
Bogdan Tara
8391350978 Backed out changeset eff866cb4c66 (bug 1668851) for browser_net-ws-filter-freetext.js failures CLOSED TREE 2020-10-06 13:46:20 +03:00
Kershaw Chang
b98b252e20 Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-06 08:18:21 +00:00
julianwels
341416588c Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D86566
2020-10-06 00:34:55 +00:00
Brindusan Cristian
876fad947b Backed out changeset 4dd604f6e395 (bug 1667351) for causing high frequency xpcshell failures at test_altsvc_pref.js. CLOSED TREE 2020-10-05 21:59:35 +03:00
Narcis Beleuzu
025ef5008e Backed out changeset 71aa02ea22b6 (bug 1666678) for GTest failures on TestCookieMain 2020-10-05 21:32:24 +03:00
Kershaw Chang
71089ed718 Bug 1652677 - P2: Implement necko part of echconfig r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-10-05 15:16:46 +00:00
Kershaw Chang
35c03a8910 Bug 1652677 - P1: Prefer to use records with ECH config r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D89454
2020-10-05 15:16:29 +00:00
Valentin Gosu
1d498c5bad Bug 1666678 - [cookie] rejected cookie when domain have ipv6 address r=baku
Differential Revision: https://phabricator.services.mozilla.com/D91246
2020-09-24 13:17:42 +00:00
Valentin Gosu
5b2da268a4 Bug 1669203 - MaybeRenewHostRecord should hold the resolver lock. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D92428
2020-10-05 14:23:22 +00:00
Valentin Gosu
f6793cc123 Bug 1668721 - ifdef shlobj_core.h inclusion on mingw32 to fix build r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D92399
2020-10-05 12:22:12 +00:00
Dragana Damjanovic
0a621956c2 Bug 1667351 - Process neqo events immediately after a cert authentication is done. r=necko-reviewers,valentin
Currently we call ResumeSend() which will not process neqo events. It will only produce new packets. We are relying on other events, like timeout or a receive packet to trigger this.

Differential Revision: https://phabricator.services.mozilla.com/D92113
2020-10-02 07:39:28 +00:00
Brindusan Cristian
2a9b39efce Backed out 2 changesets (bug 1653026) for mochitest failures at WindowGlobalParent.cpp. CLOSED TREE
Backed out changeset 54c69c99b241 (bug 1653026)
Backed out changeset e70649f78910 (bug 1653026)
2020-10-03 10:49:04 +03:00