Iulian Moraru
ef7b6b88df
Backed out 3 changesets (bug 1503072) for causing bc failures on browser_navigation_fetch_fault_handling.js. CLOSED TREE
...
Backed out changeset f8c6503512f5 (bug 1503072)
Backed out changeset c04927c15fd8 (bug 1503072)
Backed out changeset b7550232d4f1 (bug 1503072)
2021-07-12 15:19:09 +03:00
Andrew Sutherland
bd86df06b4
Bug 1503072 - Add mitigation to bypass SW on navigation fault. r=dom-worker-reviewers,necko-reviewers,valentin,edenchuang
...
We enable this mitigation by default because:
- The alternate UX is about:blank or corrupted content. That's never good.
- We want to make sure that our test coverage handles this mitigation because
it's want we want to ship.
However, we do explicitly disable it for all ServiceWorker WPT's via
`__dir__.ini` directive at the root of the service-workers test tree.
This is motivated by the
`/service-workers/service-worker/update-recovery.https.html` test which
intentionally tests a broken ServiceWorker being able to be updated. It
explicitly tests that the intercepted broken iframe shouldn't successfully
load, but our mitigation makes it load, which breaks the test.
Depends on D111845
Differential Revision: https://phabricator.services.mozilla.com/D111993
2021-07-12 11:13:35 +00:00
Dragana Damjanovic
74148ad97b
Bug 1719316
- Adapt necko to the new version of neqo r=necko-reviewers,kershaw
...
Now neqo has a Header structure instead of tuple (String, String).
Differential Revision: https://phabricator.services.mozilla.com/D119261
2021-07-08 11:52:29 +00:00
Dragana Damjanovic
1596c3c571
Bug 1719316
- Neqo version 0.4.27 r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D119196
2021-07-08 11:52:28 +00:00
Eden Chuang
4ce2d06b79
Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana
...
An opaque response should be not only cross-origin but also be request with no_cors request mode.
To filter out the request with mode Same_origin, navigate, and cors. This patch reuses the algorithm in InternalRequest/FetchDriver to decide whether a response is an opaque response.
https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/InternalRequest.cpp#331
https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/FetchDriver.cpp#1153,1157
Differential Revision: https://phabricator.services.mozilla.com/D117086
2021-07-02 23:11:55 +00:00
Dragana Damjanovic
6bcf9794f2
Bug 1717360 - Fix a endless loop when opening a WebSocket to a server that supports HTTP/3 r=necko-reviewers,valentin
...
If there is a HTTP/3 connection to a server and we try to open a WebSocket to the same server, current implementation will loop forever because we do not allow to have HTTP/2 and HTTP/3 connection open at the same time. This patch allows having both connections open at the same time if the HTTP/2 connection is used for WebSocket.
Differential Revision: https://phabricator.services.mozilla.com/D118737
2021-06-25 20:25:44 +00:00
Dragana Damjanovic
778175efc9
Bug 1717505 - Update neqo to 0.4.26 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D118495
2021-06-25 10:39:54 +00:00
Valentin Gosu
cb9c214eea
Bug 1700951 - Make DoHController watch for network:captive-portal-connectivity-changed instead r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D117652
2021-06-25 07:57:28 +00:00
Kershaw Chang
1cbf5d7e80
Bug 1716069 - P2: Use nsHTTPSOnlyUtils::IsUpgradeDowngradeEndlessLoop to check if there is an endless loop when HTTPS RR is presented, r=ckerschb
...
Depends on D118598
Differential Revision: https://phabricator.services.mozilla.com/D118599
2021-06-24 09:27:54 +00:00
Nihanth Subramanya
e78d4b3565
Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
...
Depends on D116798
Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 23:28:16 +00:00
Dorel Luca
1779a0d311
Backed out 2 changesets (bug 1713036, bug 1714486) for XPCshell failures in netwerk/test/unit/test_trr.js. CLOSED TREE
...
Backed out changeset 06c40198b074 (bug 1713036)
Backed out changeset 41800e77c675 (bug 1714486)
2021-06-23 23:02:46 +03:00
Nihanth Subramanya
8c4bb92c84
Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
...
Depends on D116798
Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 15:24:01 +00:00
Cosmin Sabou
edeaffb831
Backed out 3 changesets (bug 1714486, bug 1713036) for xpcshell failures on test_trr.js. CLOSED TREE
...
Backed out changeset 5161c4f25f80 (bug 1713036)
Backed out changeset 6ce07df62710 (bug 1713036)
Backed out changeset c824fe9b4adb (bug 1714486)
2021-06-23 08:00:36 +03:00
Nihanth Subramanya
19d9d9de89
Bug 1713036 - Fix some test failures. a=fix
...
CLOSED TREE
Ensure we only remove the DoH config update observer once in the connection dialog code.
await resetPrefs when cleaning up in the dialog test - it's an async function.
Don't forget to reset the regional pref in browser_remoteSettings_newProfile.js
Use the new default provider pref in test_trr_confirmation.js
2021-06-23 06:51:54 +03:00
Nihanth Subramanya
44665bb834
Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
...
Depends on D116798
Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 02:29:19 +00:00
Csoregi Natalia
55047317f1
Backed out changeset 5e9693e4d6b7 (bug 1714299) for causing high frequency failures on browser_opaque_response_blocking_telemetry.js. CLOSED TREE
2021-06-22 18:15:31 +03:00
Eden Chuang
ef08c8d49b
Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana
...
An opaque response should be not only cross-origin but also be request with no_cors request mode.
To filter out the request with mode Same_origin, navigate, and cors. This patch reuses the algorithm in InternalRequest/FetchDriver to decide whether a response is an opaque response.
https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/InternalRequest.cpp#331
https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/FetchDriver.cpp#1153,1157
Differential Revision: https://phabricator.services.mozilla.com/D117086
2021-06-22 13:11:08 +00:00
longsonr
71235462eb
Bug 1708729 - Allow port 65535 to be unblocked r=necko-reviewers,freddyb,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D114684
2021-06-22 10:35:50 +00:00
Valentin Gosu
35bfc0713b
Bug 1708673 - Do not recreate CacheEntry when OPEN_READONLY flag is passed r=necko-reviewers,dragana
...
This bug is caused by two cache visitors working in parallel:
Visitor1: calls asyncDoomURI
Visitor2: calls asyncOpenURI
This causes CacheStorageService::AddStorageEntry to create a new entry and add
it to the hashtable:
https://searchfox.org/mozilla-central/rev/308ea44d0d60b391b031ccee695920bd543f7d2f/netwerk/cache2/CacheStorageService.cpp#1566,1574,1576
Visitor3: will then go through the hashtable and see the newly added entry.
Differential Revision: https://phabricator.services.mozilla.com/D118344
2021-06-22 08:23:36 +00:00
Peter Van der Beken
308ea44d0d
Bug 1715300 - Disable BFCache in parent in some tests for now. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D118256
2021-06-20 15:46:38 +00:00
Andi-Bogdan Postelnicu
d844b7a2dd
Bug 1617369 - Reformat recent rust changes with rustfmt r=necko-reviewers,webdriver-reviewers,kvark
...
Updated with rustfmt 1.4.36-stable (7de6968 2021-02-07)
Differential Revision: https://phabricator.services.mozilla.com/D117906
2021-06-17 11:00:22 +00:00
Magnus Melin
294c9032db
Bug 1716870 - make sure network.http.speculative-parallel-limit is set to the default 6 for test_http3_fast_fallback.js. r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D118084
2021-06-17 05:18:09 +00:00
Kershaw Chang
b7427a5f15
Bug 1700405 - Make it possible to skip the NS check when a host is added into blocked list, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D117284
2021-06-15 13:59:10 +00:00
Alexandru Michis
af8e5d37fd
Backed out 2 changesets (bug 1715300) for causing wpt failures in metadata/prefetch.https and bc failures in browser_aboutCertError.js
...
CLOSED TREE
Backed out changeset 15b6ae49e509 (bug 1715300)
Backed out changeset 6dc09e2d617c (bug 1715300)
2021-06-10 18:41:36 +03:00
Alexandru Michis
adb94d0544
Backed out 2 changesets (bug 1700405) for causing bc failures in browser_providerSteering.js
...
Backed out changeset 678c08f0baba (bug 1700405)
Backed out changeset 90b4c5f8796e (bug 1700405)
2021-06-10 17:29:19 +03:00
Peter Van der Beken
35f9854f71
Bug 1715300 - Enable BFCache in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D117185
2021-06-10 13:06:00 +00:00
Kershaw Chang
6bc156ea65
Bug 1700405 - Make it possible to skip the NS check when a host is added into blocked list, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D117284
2021-06-10 10:12:40 +00:00
Alexandru Michis
9cd990dfdf
Backed out 2 changesets (bug 1715300) for causing devtool and wpt failures.
...
Backed out changeset 29c787c733cf (bug 1715300)
Backed out changeset 435ccebf197a (bug 1715300)
2021-06-10 11:38:16 +03:00
Peter Van der Beken
a27589924b
Bug 1715300 - Enable BFCache in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D117185
2021-06-09 06:12:31 +00:00
Valentin Gosu
fb8a8baf5e
Bug 1700895 - Check if deserialized URL is valid r=necko-reviewers,dragana
...
We return an error code if the serialization isn't valid, and also clear the
URL segments so we don't trigger the sanity checks when the URL is released.
Differential Revision: https://phabricator.services.mozilla.com/D116589
2021-06-08 07:32:05 +00:00
Kershaw Chang
e9963421a1
Bug 1711971 - Make connection coalescing works for http3, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D115528
2021-06-07 09:52:31 +00:00
Valentin Gosu
d595491cc7
Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D116701
2021-06-04 12:35:16 +00:00
Butkovits Atila
692bda1ca1
Backed out changeset c4b44c4ef15b (bug 1714307) for causing build bustages on nsHTTPCompressConv.h. CLOSED TREE
2021-06-04 13:53:37 +03:00
Valentin Gosu
98146ae90b
Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D116701
2021-06-04 10:00:55 +00:00
Valentin Gosu
3b09f173e0
Bug 1710045 - Use DataMutex in nsHttp::sAtomTable r=necko-reviewers,dragana
...
- Make nsHttp::ResolveAtom lazily initialize the static atom table if empty
- Use a DataMutex to ensure locked access to the atom table
- Use nsCString in nsHttpAtom so strings can be shared/reference counted
- Add atomic sTableDestroyed so we don't reinit the atom table during shutdown
Depends on D114717
Differential Revision: https://phabricator.services.mozilla.com/D114718
2021-06-01 07:24:02 +00:00
R. Martinho Fernandes
7ea1bcd018
Bug 1597600
- make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D91962
2021-06-01 06:55:07 +00:00
Brindusan Cristian
ca49f15f7d
Backed out 14 changesets (bug 1705659, bug 472823, bug 669675) as requested by valentin for causing regressions. CLOSED TREE
...
Backed out changeset d920aa17a468 (bug 669675)
Backed out changeset adad38c05584 (bug 1705659)
Backed out changeset 361c177ed131 (bug 1705659)
Backed out changeset 46e559f45338 (bug 1705659)
Backed out changeset 3c9556a8df55 (bug 1705659)
Backed out changeset a179695a56c9 (bug 1705659)
Backed out changeset e688986c7011 (bug 1705659)
Backed out changeset de990e6c944d (bug 1705659)
Backed out changeset 0ea348abee78 (bug 1705659)
Backed out changeset 2f0aacbd42b1 (bug 1705659)
Backed out changeset c977551bad6e (bug 1705659)
Backed out changeset 5449d9e08034 (bug 1705659)
Backed out changeset b6b51bc167ac (bug 1705659)
Backed out changeset 27e709923ecb (bug 472823)
2021-05-31 13:16:34 +03:00
Dorel Luca
211b017ce9
Backed out changeset 089c88b9657b (bug 1597600
) for XPCshell failures in toolkit/components/cleardata/tests/unit/test_certs.js. CLOSED TREE
2021-05-29 23:31:00 +03:00
R. Martinho Fernandes
a9e55ea7fc
Bug 1597600
- make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D91962
2021-05-29 19:34:35 +00:00
Dragana Damjanovic
c848257f16
Bug 1710821 - Enable HTTP/3 final version by default r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D114960
2021-05-28 15:33:55 +00:00
Kershaw Chang
f105e15988
Bug 1616239 - Enable http3 tests for asan, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D108635
2021-05-28 07:37:23 +00:00
Sebastian Hengst
544a953b13
Backed out 3 changesets (bug 1710045) for failing GTest TestHttpResponseHead.atoms on Windows. CLOSED TREE
...
Backed out changeset b4f466ca314e (bug 1710045)
Backed out changeset 66364f605471 (bug 1710045)
Backed out changeset 84c30435445b (bug 1710045)
2021-05-27 14:41:22 +02:00
Valentin Gosu
6cdbc0a967
Bug 1710045 - Use DataMutex in nsHttp::sAtomTable r=necko-reviewers,dragana
...
- Make nsHttp::ResolveAtom lazily initialize the static atom table if empty
- Use a DataMutex to ensure locked access to the atom table
- Use nsCString in nsHttpAtom so strings can be shared/reference counted
- Add atomic sTableDestroyed so we don't reinit the atom table during shutdown
Depends on D114717
Differential Revision: https://phabricator.services.mozilla.com/D114718
2021-05-27 09:12:35 +00:00
Dragana Damjanovic
ec06ffa508
Bug 1712441 - Add test for the HTTP/3 upload time telemetry r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D115887
2021-05-27 06:59:53 +00:00
Valentin Gosu
76cc18727f
Bug 669675 - Use Tokenizer in ParseRealm r=necko-reviewers,dragana
...
We also import the testcases from http://test.greenbytes.de/tech/tc/httpauth/
as unit tests.
This patch adds a network.auth.use_new_parse_realm pref in case this change
causes any regressions.
Depends on D112605
Differential Revision: https://phabricator.services.mozilla.com/D112594
2021-05-26 09:27:21 +00:00
Valentin Gosu
e6f72c6341
Bug 1705659 - Modernize test_authentication.js r=necko-reviewers,dragana
...
Depends on D106241
Differential Revision: https://phabricator.services.mozilla.com/D112596
2021-05-26 09:27:17 +00:00
Glenn Strauss
988a105817
Bug 472823 - support SHA-256 HTTP Digest auth r=necko-reviewers,dragana
...
fixes:
Bug 472823 SHA 256 Digest Authentication
Original patch by Teun van Eijsden
Tests added by Vit Hampl <mozilla@bugear.com>
Original patch updated and tests fixed by gstrauss
fixes:
Bug 281851 CVE-2005-2395 Wrong scheme used when server offers both Basic and Digest auth
fixes:
Bug 669675 failure to skip unknown HTTP authentication schemes in WWW-Authenticate
Differential Revision: https://phabricator.services.mozilla.com/D106241
2021-05-26 09:27:16 +00:00
Dragana Damjanovic
4e508bd5ca
Bug 1712440 - Update neqo to version 0.4.25 r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D115758
2021-05-25 21:52:27 +00:00
Kris Wright
5e37146c9f
Bug 1692068 - Disable broken crashtests on tsan. r=necko-reviewers,decoder,dragana
...
These tests either cause frequent or permanent failures on TSan.
Differential Revision: https://phabricator.services.mozilla.com/D110371
2021-05-25 01:15:49 +00:00
Andi-Bogdan Postelnicu
0194d37673
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
...
Updated with rustfmt 1.4.36-stable (7de6968 2021-02-07)
Differential Revision: https://phabricator.services.mozilla.com/D115805
2021-05-24 15:08:48 +00:00