Commit Graph

882 Commits

Author SHA1 Message Date
Tom Tung
a798dbea47 Bug 1696111 - ORB core Implementation; r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102448
2021-03-30 00:52:30 +00:00
Butkovits Atila
eaa725a4a6 Backed out 12 changesets (bug 1683131, bug 1696111, bug 1695987) for causing crashes(Bug 1701151). a=backout
Backed out changeset 8ffef57e27d2 (bug 1683131)
Backed out changeset c02d5dc72abb (bug 1695987)
Backed out changeset 276f016ddc67 (bug 1683131)
Backed out changeset 2c7a45e20b50 (bug 1683131)
Backed out changeset 11fdb503d537 (bug 1696111)
Backed out changeset 2946eff1e9c8 (bug 1696111)
Backed out changeset e4d01b88e517 (bug 1696111)
Backed out changeset fab7f4cd445d (bug 1696111)
Backed out changeset d60c38f8939a (bug 1696111)
Backed out changeset 3fdc8089a46f (bug 1696111)
Backed out changeset 51a16dfabc98 (bug 1696111)
Backed out changeset 642bdd52fd57 (bug 1696111)
2021-03-26 11:30:28 +02:00
Tom Tung
a5b637fbc7 Bug 1695987 - Collect the size of response to be parsed on ORB; r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D106960
2021-03-25 12:09:42 +00:00
Tom Tung
a02a311c5f Bug 1683131 - Add telemetry probes to record time and result for checking a opaque response is allowed or not; r=necko-reviewers,annevk,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103028
2021-03-25 12:09:41 +00:00
Tom Tung
547da7955d Bug 1696111 - Use sniffers in the requested category; r=necko-reviewers,valentin
After applying D102448,
uriloader/exthandler/tests/mochitest/test_nullCharFile.xhtml starts to fail.
The reason is that it adds image sniffer into net-content-sniffers which is not
expected.

Such that, this patch
- adds two other sniffers category:
  - orb-content-sniffers
    - The sniffers that are needed in ORB.
  - net-and-orb-content-sniffers
    - The sniffers that are in either orb-content-sniffers or net-content-sniffers.
- changes the way to ensure we only use the sniffers in the
requested category.

Differential Revision: https://phabricator.services.mozilla.com/D107207
2021-03-25 12:09:41 +00:00
Tom Tung
a97e27af31 Bug 1696111 - Sniff and check the initial media request and allow its subsequent requests; r=necko-reviewers,dragana
This implements the changes in https://github.com/annevk/orb/pull/16/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

Differential Revision: https://phabricator.services.mozilla.com/D106891
2021-03-25 12:09:40 +00:00
Tom Tung
2be195fc50 Bug 1696111 - ORB core Implementation; r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102448
2021-03-25 12:09:39 +00:00
Kershaw Chang
db713b91d1 Bug 1697480 - P1: Collect the time between asyncOpen and requestStart when HTTPS RR is used r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D107983
2021-03-18 15:26:36 +00:00
Simon Giesecke
86e29e162f Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag
Differential Revision: https://phabricator.services.mozilla.com/D108585
2021-03-17 15:49:46 +00:00
Christoph Kerschbaumer
8817c5c16b Bug 1691888: Break endless upgrade downgrade loops when using https-only r=necko-reviewers,valentin,JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D106475
2021-03-11 18:02:27 +00:00
Sebastian Streich
4bee55bf97 Bug 1685570 Backed out changeset 92d71744323a r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D107670
2021-03-10 15:15:24 +00:00
Bogdan Tara
d1a931c47e Backed out changeset 37aae4f2c6cf (bug 1691888) for test_break_endless_upgrade_downgrade_loop.html failures CLOSED TREE 2021-03-10 10:28:49 +02:00
Christoph Kerschbaumer
b1eca2863e Bug 1691888: Break endless upgrade downgrade loops when using https-only r=necko-reviewers,valentin,JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D106475
2021-03-10 07:30:25 +00:00
Valentin Gosu
5e98836378 Bug 1681683 - Exclude OCSP channels from using TRR in mode3 r=necko-reviewers,kershaw
Otherwise the OCSP channel that tries to check the certificate for the DoH
server will also try to use TRR leading to DNS failures.

Differential Revision: https://phabricator.services.mozilla.com/D106884
2021-03-02 10:41:55 +00:00
Alexis Beingessner
b8b572bfa0 Bug 1686616 - make ThirdPartyUtil use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105523
2021-02-18 13:26:29 +00:00
Kershaw Chang
346d312195 Bug 1689018 - Convey content disposition information to new redirect channel r=necko-reviewers,Gijs,valentin
Differential Revision: https://phabricator.services.mozilla.com/D104061
2021-02-05 09:52:30 +00:00
Nihanth Subramanya
8dc81dabef Bug 1688239 - Move mozilla::net::ResolverMode into nsIDNSService and use it consistently. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102794
2021-01-25 12:22:43 +00:00
Masatoshi Kimura
12c9fd0669 Bug 1685900 - Split internal and external contentPolicyType. r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D101271
2021-01-15 12:07:16 +00:00
Narcis Beleuzu
30a5f83baa Backed out changeset a52961071dcd (bug 1685900) for Build bustage in nsContentSecurityManager.cpp. CLOSED TREE 2021-01-15 04:04:37 +02:00
Masatoshi Kimura
666d7f8e2b Bug 1685900 - Split internal and external contentPolicyType. r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D101271
2021-01-15 04:02:41 +02:00
Dorel Luca
922d64bb4f Backed out changeset a52961071dcd (bug 1685900) for Build bustage in nsContentSecurityManager.cpp. CLOSED TREE 2021-01-15 02:45:34 +02:00
Masatoshi Kimura
fd94179ca1 Bug 1685900 - Split internal and external contentPolicyType. r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D101271
2021-01-14 20:44:54 +00:00
Alexis Beingessner
12746f497c Bug 1614697 - Make HttpBaseChannel and its children use MOZ_ATOMIC_BITFIELDS. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99306
2020-12-14 17:26:29 +00:00
Akihiko Odaki
585a8066c5 Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu,valentin
***

***

Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-12-03 00:56:22 +00:00
Valentin Gosu
f9d90ce5e1 Bug 1658097 - [fission] Send resource timing data for cross-origin frames to the correct process r=nika,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D96754
2020-11-13 13:48:00 +00:00
Dragana Damjanovic
d58a33c8e4 Bug 1674316 - Better separate NS_HTTP_DISALLOW_HTTP3 and NS_HTTP_DISALLOW_SPDY when dispatching transactions r=necko-reviewers,valentin
- add allowHttp3 attribute to nsIHttpChannelInternal, it is used for easy testing and it will be used for Bug 1674111
 - add test for NS_HTTP_DISALLOW_HTTP3 and NS_HTTP_DISALLOW_SPDY
 - add HTTP3 test for altSvc and the cert verifiacation

Differential Revision: https://phabricator.services.mozilla.com/D95256
2020-11-03 10:21:17 +00:00
Andrew Sutherland
e7943f134a Bug 1669355 - Refactor MIME type warnings into base class. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93906
2020-10-28 12:15:23 +00:00
Valentin Gosu
4ea7da9041 Bug 1556194 - Prevent OCSP Request from blocking TRR-only DNS resolutions r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D94502
2020-10-27 13:42:58 +00:00
Hubert Boma Manilla
e849096afd Bug 1666723 - Expose and add a test r=dragana,necko-reviewers
Depends on D93137

Differential Revision: https://phabricator.services.mozilla.com/D93922
2020-10-22 23:23:53 +00:00
Mihai Alexandru Michis
a66b17b6a4 Backed out changeset 989a13996999 (bug 1669355) for causing mochitest failures in test_fetch_event.html
CLOSED TREE
2020-10-20 17:13:25 +03:00
Andrew Sutherland
119a650ab8 Bug 1669355 - Refactor MIME type warnings into base class. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93906
2020-10-19 07:00:41 +00:00
JulianWels
3878e986b6 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
88ee1f79ff Backed out changeset b3fb1b5bbe34 (bug 1608074) for causing bustages in XMLHttpRequestMainThread.cpp
CLOSED TREE
2020-10-13 14:55:06 +03:00
JulianWels
f6a0f2c0a7 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
Csoregi Natalia
54c4821a2e Backed out changeset f12c895fc5e7 (bug 1605305) for causing bustage on nsHttpChannel.cpp on mc. CLOSED TREE 2020-09-25 09:58:22 +03:00
Akihiko Odaki
3d3714f349 Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
***
trr debugging

Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-09-23 19:00:10 +00:00
Simon Giesecke
ab6f0a7137 Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Valentin Gosu
0bda58b253 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
Razvan Maries
287a69b58e 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
Valentin Gosu
700aeb523b 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
Kershaw Chang
609c212772 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
Valentin Gosu
d8c2d8efb5 Bug 1626486 - Use structured field value parser for COOP and COEP r=kershaw,annevk,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D88003
2020-09-01 06:18:51 +00:00
Mihai Alexandru Michis
eb066616e1 Backed out changeset ad066d1a0def (bug 1626486) for causing wpt failures in header-parsing.https.html
CLOSED TREE
2020-08-31 15:43:47 +03:00
Valentin Gosu
3c887554ac Bug 1626486 - Use structured field value parser for COOP and COEP r=kershaw,annevk,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D88003
2020-08-25 14:27:34 +00:00
Matt Woodrow
7fb1559687 Bug 1638422 - Add an option for nsITraceableChannel new listeners to request that content decoding be applied before they are called. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D83595
2020-08-25 23:17:35 +00:00
Kershaw Chang
95da18de51 Bug 1652655 - P3: Dispatch the transaction based on HTTPSSVC record, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D85123
2020-08-21 18:59:15 +00:00
Csoregi Natalia
9cff20c831 Backed out changeset 7cad986c81a5 (bug 1605305) for failures on test_trr.js. CLOSED TREE 2020-08-18 23:38:17 +03:00
Akihiko Odaki
414a08f8cd Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 16:32:43 +00:00
Razvan Maries
431767c07a Backed out changeset 1047cef8519b (bug 1605305) for perma failures on test_trr.js. CLOSED TREE 2020-08-18 17:39:29 +03:00
Akihiko Odaki
8b755c2e9f Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 13:15:27 +00:00