Граф коммитов

20974 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 69ea94aefc Bug 1664948 - Remove content process interception from HttpChannelChild. r=asuth,dragana,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D90192
2020-09-15 23:44:58 +00:00
Narcis Beleuzu c7f4f12791 Backed out changeset fa3e94e7c584 (bug 1664948) for bustages on HttpChannelParent.cpp . CLOSED TREE 2020-09-16 02:10:13 +03:00
Matt Woodrow b75c1b3b01 Bug 1664948 - Remove content process interception from HttpChannelChild. r=asuth,dragana,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D90192
2020-09-15 20:47:06 +00:00
Valentin Gosu 07362aeaa4 Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-15 10:39:56 +00:00
Valentin Gosu 7de4c8009c Bug 1525854 - TRR shouldn't fallback to DNS on DNSSEC error r=necko-reviewers,dragana
This patch adds support for the Extended DNS Errors draft code.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16

While not yet in the draft, it seems the OPT code for Extended DNS Error is 15
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11

The list of errors for which we hard fail isn't necessarily final.
I picked the errors that indicate a DNSSec failure, or an intentional
filtering done by the resolver.

Differential Revision: https://phabricator.services.mozilla.com/D87698
2020-09-15 10:39:07 +00:00
Valentin Gosu 8fac241692 Bug 1660970 - Get rid of DoHAddr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D88121
2020-09-15 10:38:41 +00:00
Valentin Gosu 3e2712a46b Bug 1645108 - Parse additional section of TRR response r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87088
2020-09-15 10:38:27 +00:00
Junior Hsu ec6be89428 Bug 1655895 - do not set a timer for neqo passed a UINT64::MAX, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85234
2020-08-24 17:23:00 +00:00
Emilio Cobos Álvarez c06997e522 Bug 1661402 - Make nsIStreamLoader.numBytesRead safe to call from any thread. r=necko-reviewers,valentin
Right now it uses mData, which is modified from another thread from
OnDataAvailable.

Prevent the race and even simplify the code a bit by keeping the bytes
read separately.

Relaxed atomics are fine for these, they don't guard any memory.

Differential Revision: https://phabricator.services.mozilla.com/D90155
2020-09-15 07:19:37 +00:00
Razvan Maries c8e604eb78 Backed out 4 changesets (bug 1660970, bug 1525854, bug 1663657, bug 1645108) for perma failures on test_trr_additional_section.js. CLOSED TREE
Backed out changeset ad6c2e8af09b (bug 1663657)
Backed out changeset 419e26e3f452 (bug 1525854)
Backed out changeset 55bf856faf33 (bug 1660970)
Backed out changeset c543a3a008fa (bug 1645108)
2020-09-15 02:35:05 +03:00
Dragana Damjanovic 3459cf7d68 Bug 1655636 - avoid reinitializing the timers for ProcessOutputAndEvents, r=dragana,necko-reviewers
We initialize the same timer with different delays.
Therefore, `SetDelay` is enough for this case.

Differential Revision: https://phabricator.services.mozilla.com/D85233
2020-09-14 23:09:58 +00:00
Valentin Gosu 6d149e6e7a Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-14 12:06:27 +00:00
Valentin Gosu 26af33d4cc Bug 1525854 - TRR shouldn't fallback to DNS on DNSSEC error r=necko-reviewers,dragana
This patch adds support for the Extended DNS Errors draft code.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16

While not yet in the draft, it seems the OPT code for Extended DNS Error is 15
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11

The list of errors for which we hard fail isn't necessarily final.
I picked the errors that indicate a DNSSec failure, or an intentional
filtering done by the resolver.

Differential Revision: https://phabricator.services.mozilla.com/D87698
2020-09-14 21:42:02 +00:00
Valentin Gosu 438128d0d4 Bug 1660970 - Get rid of DoHAddr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D88121
2020-09-14 21:42:02 +00:00
Valentin Gosu 6051d814c2 Bug 1645108 - Parse additional section of TRR response r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87088
2020-09-14 21:41:44 +00:00
Kagami Sascha Rosylight f949ec8d28 Bug 1664514 - Proper null checks in CORS/fetch r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D89960
2020-09-14 18:36:25 +00:00
Alexis Beingessner e5dd298d13 Bug 1654807 - update thin-vec to 0.2.1 for potential endianess fix. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87019
2020-09-14 17:32:40 +00:00
ffxbld 651ca4559b No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D90123
2020-09-14 15:48:22 +00:00
Kershaw Chang 361fe2d82b Bug 1652670 - P2: Make nsSocketTransport use IP hint address to connect r=valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D88988
2020-09-14 14:47:36 +00:00
Kershaw Chang 1ed2ff578d Bug 1652670 - P1: Use IP hint addresses as regular A/AAAA records r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D88780
2020-09-14 14:47:29 +00:00
Cristina Coroiu ca591bd0d6 Backed out changeset 633d2aa345a3 (bug 1664514) fro crashtest failures at dom/fetch/tests/crashtests/1664514.html on a CLOSED TREE 2020-09-14 18:18:10 +03:00
Kagami Sascha Rosylight be6889463a Bug 1664514 - Proper null checks in CORS/fetch r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D89960
2020-09-14 09:50:46 +00:00
Valentin Gosu a8fed672cb Bug 1664020 - ShutdownEvent::PostAndWait should return immediately if posting the event fails r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D89648
2020-09-14 09:27:42 +00:00
Dragana Damjanovic 3e73bcf0b9 Bug 1664321 - Neqo API has a small change, adapt neqo_glue r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D89829
2020-09-14 07:50:57 +00:00
Dragana Damjanovic 93fcbece5c Bug 1664321 - Update neqo to 0.4.11 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D89828
2020-09-14 07:50:57 +00:00
Dimi Lee f3da525903 Bug 1662362 - Record STATE_UNBLOCKED_UNSAFE_CONTENT event to content blocking log when unblock API of URL Classifier is called r=nhnt11,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D88957
2020-09-11 17:48:29 +00:00
Emilio Cobos Álvarez f9ac84ac67 Bug 1664405 - Properly copy mHasCacheControl in nsHttpResponseHead::operator=. r=dragana,necko-reviewers
Oof, I sometimes really hate C++ :/

The new assert makes our tests go boom without the fix.

Differential Revision: https://phabricator.services.mozilla.com/D89940
2020-09-11 17:17:07 +00:00
Bogdan Tara c2f16d6986 Backed out changeset 73bd8f2fbbf1 (bug 1664020) for bustages complaining about CacheFileIOManager.cpp CLOSED TREE 2020-09-11 16:10:19 +03:00
Valentin Gosu 260b3b5abf Bug 1664020 - ShutdownEvent::PostAndWait should return immediately if posting the event fails r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D89648
2020-09-11 07:59:42 +00:00
Kershaw Chang 40ec8af428 Bug 1663718 - Don't put too much data in buffer when the data can't be written to socket r=dragana
The main reason we used too much memory is that we ignore the `NS_BASE_STREAM_WOULD_BLOCK` returned from socket output stream.
When the output stream is blocked, all the data is stored in the output queue and make the memory usage high.

Differential Revision: https://phabricator.services.mozilla.com/D89563
2020-09-11 08:44:07 +00:00
Tarek Ziadé 3021e5b216 Bug 1662706 - add a fuzzy runner r=sparky,necko-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D89123
2020-09-11 08:13:27 +00:00
Tarek Ziadé 9c8bb6e963 Bug 1663417 - make scriptinfo compatible with xpcshell tests r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D89372
2020-09-10 23:15:09 +00:00
Narcis Beleuzu f837964009 Backed out 3 changesets (bug 1661809, bug 1662706, bug 1663417) for SM bustages. CLOSED TREE
Backed out changeset 96e69574f7ee (bug 1662706)
Backed out changeset a584b11a503a (bug 1663417)
Backed out changeset 655ce94f20f3 (bug 1661809)
2020-09-11 01:50:09 +03:00
Dragana Damjanovic 05c4dcd62f Bug 1650388 - Send 0RTT data. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D87231
2020-09-10 20:48:56 +00:00
Dragana Damjanovic 368bae162a Bug 1650388 - Cache and use resumption tokens. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D87230
2020-09-10 20:48:56 +00:00
Narcis Beleuzu 57fd870466 Backed out 3 changesets (bug 1308104) for bustages on nsHttp.cpp . CLOSED TREE
Backed out changeset e78791b93526 (bug 1308104)
Backed out changeset b5c1875c11c7 (bug 1308104)
Backed out changeset 9c8433be706e (bug 1308104)
2020-09-10 22:43:25 +03:00
Nicklas Boman eb33e0f63f Bug 1308104 - Replace PL_strchr with a safer Gecko string class or function netwerk/ r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D89326
2020-09-10 17:38:42 +00:00
Tarek Ziadé 282632b3a0 Bug 1662706 - add a fuzzy runner r=sparky,necko-reviewers,rstewart DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89123
2020-09-10 11:36:29 +00:00
Tarek Ziadé 2e207a9e80 Bug 1663417 - make scriptinfo compatible with xpcshell tests r=sparky DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89372
2020-09-10 11:18:26 +00:00
Peter Van der Beken 709c5edefe Bug 1663487 - Set loading history entry for loads in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89420
2020-09-09 00:40:38 +00:00
Dragana Damjanovic 7433c1b34d Bug 1618849 - Add separate AltSvc for http2 and http3 and prefer http3 if allowed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86934
2020-09-09 10:32:22 +00:00
Bogdan Tara d5746a62fe Backed out changeset 7813723422bf (bug 1618849) for browser_staticPartition_network.js failures CLOSED TREE 2020-09-09 04:58:46 +03:00
Dragana Damjanovic 821dfeec6a Bug 1618849 - Add separate AltSvc for http2 and http3 and prefer http3 if allowed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D86934
2020-09-08 18:30:58 +00:00
ffxbld c9023a3ab0 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D89378
2020-09-07 14:23:46 +00:00
Kershaw Chang 85a40e4ad8 Bug 1658877 - Don't overwrite mContentDispositionHint if it's DISPOSITION_ATTACHMENT r=valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88044
2020-09-02 12:58:45 +00:00
Mihai Alexandru Michis 7fb69eef2a Backed out changeset 71edbf86ce85 (bug 1662855) for causing xpcshell failures.
CLOSED TREE
2020-09-03 01:56:09 +03:00
Kris Maglione d2863ca956 Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.

Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-02 20:14:12 +00:00
Mihai Alexandru Michis 997d051046 Backed out changeset 61246cf19cb6 (bug 1589781) for causing failures in test_trr_nat64.js
CLOSED TREE
2020-09-02 21:36:15 +03:00
Valentin Gosu 809515f19f Bug 1661019 - Fix static-analysis warnings in netwerk/dns r=necko-reviewers,kershaw
Depends on D88145

Differential Revision: https://phabricator.services.mozilla.com/D88146
2020-09-02 15:39:05 +00:00
Valentin Gosu 2eeec2c551 Bug 1661019 - Autofix static-analysis in netwerk/dns r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D88145
2020-09-02 15:39:00 +00:00