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

23982 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 3202b3d09e Bug 1789902 - Part 3: Stop generating rust bindings for Services.py, r=xpcom-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D156892
2022-09-13 13:47:14 +00:00
Nika Layzell 3d9a6d0374 Bug 1789902 - Part 2: Use XPCOM static components instead of Services in Rust, r=xpcom-reviewers,necko-reviewers,barret,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156891
2022-09-13 13:47:13 +00:00
Norisz Fay dff4f6d15e Backed out 2 changesets (bug 1771423) for causing webcompat regressions CLOSED TREE
Backed out changeset c1d1be434427 (bug 1771423)
Backed out changeset 2b7d886f374f (bug 1771423)
2022-09-13 16:26:16 +03:00
Kershaw Chang 055516b06e Bug 1789584 - Test if we reuse the connection when dealing with connection based auth, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156658
2022-09-13 09:45:23 +00:00
Dana Keeler d763d1555a Bug 1789697 - use nsITransportSecurityInfo directly in PHttpTransaction::OnStartRequest r=kershaw,necko-reviewers
Depends on D156718

Differential Revision: https://phabricator.services.mozilla.com/D156740
2022-09-09 22:14:19 +00:00
Nika Layzell 449e73f1c7 Bug 1348272 - Mark nsIInputStream and nsIOutputStream as builtinclass, r=xpcom-reviewers,necko-reviewers,barret,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156893
2022-09-09 18:22:36 +00:00
Marian-Vasile Laza 78b100abc0 Backed out changeset 10ea141649b6 (bug 1348272) for causing mochitest failures on test_domparsing.xhtml. CLOSED TREE 2022-09-09 19:21:48 +03:00
nchevobbe 2479165e79 Bug 1790017 - Add Services.perms.getAllByTypes(permissionTypes). r=permissions-reviewers,necko-reviewers,pbz
This new method return an array of `nsIPermission` whose type are included in the
array of permission types parameter.
This will help the implementation of Bug 1778959 where we need to get all the permission
of a given Set of (gated) permission types.

Differential Revision: https://phabricator.services.mozilla.com/D156951
2022-09-09 14:52:38 +00:00
Nika Layzell b24f79de71 Bug 1348272 - Mark nsIInputStream and nsIOutputStream as builtinclass, r=xpcom-reviewers,necko-reviewers,barret,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156893
2022-09-09 13:29:30 +00:00
Mark Banner c9b0aa74c1 Bug 1789254 - Migrate enterprisepolicies consumers to use ESM imports directly. r=mkaply,necko-reviewers,application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D156464
2022-09-08 14:40:07 +00:00
Norisz Fay 1bb0960ae2 Backed out 3 changesets (bug 1789254) for causing bc failures on browser_xpcom_graph_wait.js CLOSED TREE
Backed out changeset bea1e1ba4a14 (bug 1789254)
Backed out changeset 4086aaa5f3d0 (bug 1789254)
Backed out changeset 131cac1d1146 (bug 1789254)
2022-09-08 17:14:00 +03:00
Mark Banner 5dca28c108 Bug 1789254 - Migrate enterprisepolicies consumers to use ESM imports directly. r=mkaply,necko-reviewers,application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D156464
2022-09-08 12:43:32 +00:00
Iulian Moraru 1b65467c38 Backed out changeset a210a4efbbfd (bug 1783848) for causing linting failures on browser_103_no_cancel_on_error.js. CLOSED TREE 2022-09-08 15:27:25 +03:00
mleclair 4920ab141a Bug 1783848: Stop cancelling early hints on error pages r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D155669
2022-09-08 11:55:58 +00:00
Kershaw Chang eefc8a8487 Bug 1760580 - P3: Use more CancelWithReason in HttpChannelChild, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156072
2022-09-08 09:11:19 +00:00
Kershaw Chang d164608d66 Bug 1760580 - P2: Provide a reason when request is cancelled with NS_BINDING_ABORTED, r=necko-reviewers,media-playback-reviewers,valentin,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D156071
2022-09-08 09:11:19 +00:00
Kershaw Chang cc6c147f88 Bug 1760580 - P1: Make nsIRequest support to store canceled reason, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156070
2022-09-08 09:11:18 +00:00
Shane Caraveo 663d7bf785 Bug 1786564 allow access to static theme resources in extensions r=rpl,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D156618
2022-09-07 20:16:19 +00:00
Valentin Gosu 226adb5a86 Bug 1779993 - Reject cookies with no name and a __Secure- or __Host- prefix r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D156554
2022-09-07 19:04:22 +00:00
Butkovits Atila d45268508b Backed out 4 changesets (bug 1787159) for causing failures at test_ext_webRequest_eventPage_StreamFilter.js. CLOSED TREE
Backed out changeset 333d1c3b1139 (bug 1787159)
Backed out changeset 0f9e3836fef5 (bug 1787159)
Backed out changeset ad0cc19207ce (bug 1787159)
Backed out changeset 3ff8337743bd (bug 1787159)
2022-09-07 16:44:13 +03:00
Valentin Gosu dc196dd040 Bug 1788115 - Do not enforce 63 character limit for IDNA labels r=necko-reviewers,dragana
According to https://unicode.org/reports/tr46/#ToASCII we have the option of
setting VerifyDnsLength = false for the algorithm. This seems in accordance
to the URL spec and the rest the browser implementations.

The label size is arbitrarily bumped up to 256.

Differential Revision: https://phabricator.services.mozilla.com/D156398
2022-09-07 12:05:21 +00:00
Paul Adenot ae58c58305 Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-07 11:24:25 +00:00
Dragana Damjanovic 0aa5419981 Bug 1772092 - Adjust neqo-glue code to the new neqo version r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D148053
2022-09-07 10:10:28 +00:00
Dragana Damjanovic f29ba14bfb Bug 1772092 - Neqo version 0.6.1 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156603
2022-09-07 10:10:27 +00:00
Mike Hommey a0fd792247 Bug 1789511 - Use drop(Box::from_raw). r=necko-reviewers,dragana
As of rustc 1.64, Box::from_raw is #[must_use].

Differential Revision: https://phabricator.services.mozilla.com/D156621
2022-09-07 05:07:32 +00:00
Joshua Marshall 3a58eb344d Bug 1782835 - Add accept-encoding:identity for range requests r=necko-reviewers,asuth,dragana
Differential Revision: https://phabricator.services.mozilla.com/D156173
2022-09-06 22:25:13 +00:00
Dragana Damjanovic 008b131cfc Bug 1771972 - Disable HTTP/3 if TLS 1.3 is disabled r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156342
2022-09-06 15:00:18 +00:00
Norisz Fay 813f391883 Backed out 4 changesets (bug 1787159) for causing AAC related build bustages CLOSED TREE
Backed out changeset 8bbff0f18e88 (bug 1787159)
Backed out changeset a78016cc2812 (bug 1787159)
Backed out changeset c095a999a3db (bug 1787159)
Backed out changeset 9ae487b3afeb (bug 1787159)
2022-09-06 17:18:34 +03:00
Paul Adenot 17ddff359f Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-06 13:30:09 +00:00
Kershaw Chang 7ef1b84005 Bug 1786009 - Deal with a case when a HTTP/2 proxy reset stream with HTTP_1_1_REQUIRED, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D155697
2022-09-06 13:25:42 +00:00
Sandor Molnar 572b2bd7ba Backed out 4 changesets (bug 1787159) for causing mochitest failures in dom/media/webaudio/test/test_decodeMultichannel.html CLOSED TREE
Backed out changeset bf145275b8a9 (bug 1787159)
Backed out changeset 99c8eac7322c (bug 1787159)
Backed out changeset fe795b47f5ea (bug 1787159)
Backed out changeset 1e7451eb44d9 (bug 1787159)
2022-09-06 15:51:54 +03:00
Paul Adenot e5c42be5a6 Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-06 11:45:10 +00:00
Norisz Fay 255259d4e7 Backed out 2 changesets (bug 1788115) for causing wpt failures on failure.html CLOSED TREE
Backed out changeset 2d8d235bd750 (bug 1788115)
Backed out changeset ef8a29a25db2 (bug 1788115)
2022-09-06 12:02:21 +03:00
Valentin Gosu f18b56a6af Bug 1788115 - Do not enforce 63 character limit for IDNA labels r=necko-reviewers,dragana
According to https://unicode.org/reports/tr46/#ToASCII we have the option of
setting VerifyDnsLength = false for the algorithm. This seems in accordance
to the URL spec and the rest the browser implementations.

The label size is arbitrarily bumped up to 256.

Differential Revision: https://phabricator.services.mozilla.com/D156398
2022-09-06 07:57:49 +00:00
ffxbld dcae9a94c1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D156422
2022-09-06 03:01:37 +00:00
Mark Banner dcf3abed55 Bug 1788038 - Turn on ESLint rule for prefer-boolean-length-check for netwerk. r=necko-reviewers,dragana
Depends on D155965

Differential Revision: https://phabricator.services.mozilla.com/D155966
2022-09-05 22:01:07 +00:00
Mike Hommey 3b6d66eba3 Bug 1788858 - Remove HOST_MAJOR_VERSION. r=firefox-build-system-reviewers,necko-reviewers,andi
`HAS_CONNECTX` is not used in `netwerk/protocol/http` as of bug 1689604.
In NSPR, it is used to enable the use of `connectx`, which is available
since macOS 10.11, and we target 10.12, which means it's always
available, so we don't need to check for it based on the target version
(and checking the host version was wrong, too).

Differential Revision: https://phabricator.services.mozilla.com/D156275
2022-09-05 21:24:25 +00:00
Dennis Jackson 97f4470f70 Bug 1788290 - Record whether Private DNS was used for a TLS Connection. r=keeler,necko-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D156106
2022-09-02 20:59:35 +00:00
Dennis Jackson a0e440195f Bug 1788290 - Record whether OCSP requests were made whilst making a TLS connection. r=keeler,necko-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D156105
2022-09-02 20:59:34 +00:00
Butkovits Atila 7fed5a7ef2 Backed out 3 changesets (bug 1788290) for causing build bustages. CLOSED TREE
Backed out changeset 52d5a06be477 (bug 1788290)
Backed out changeset a3b5d214b5d4 (bug 1788290)
Backed out changeset e94a38b79965 (bug 1788290)
2022-09-02 19:13:34 +03:00
Dennis Jackson 4b3a179797 Bug 1788290 - Record whether Private DNS was used for a TLS Connection. r=keeler,necko-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D156106
2022-09-02 14:16:07 +00:00
Dennis Jackson 0e389c049e Bug 1788290 - Record whether OCSP requests were made whilst making a TLS connection. r=keeler,necko-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D156105
2022-09-02 14:16:07 +00:00
Andrew Creskey 27f1120fb7 Bug 1782743 - Create a glean metrics.yaml at the root of netwerk r=necko-reviewers,valentin
Since we want one glean metrics definition for all of necko, we will ultimately migrate the existing metrics to this one.

Differential Revision: https://phabricator.services.mozilla.com/D156231
2022-09-02 13:03:09 +00:00
Kershaw Chang 8feb378b2c Bug 1786881 - Reuse connection for connection based auth, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156154
2022-09-02 12:45:33 +00:00
Valentin Gosu 365f297335 Bug 1785239 - Fix failures in test_h2proxy_connection_limit.js (verify) by not throwing in HTTP2ProxyCode r=necko-reviewers,kershaw
The patch also removes some redundant code from the test and
fixes a lint error in head_servers.js

Differential Revision: https://phabricator.services.mozilla.com/D156211
2022-09-02 09:28:15 +00:00
Dana Keeler 6c323ba1d4 Bug 1787942 - use nsITransportSecurityInfo instead of serializing it in IPC calls in netwerk/ r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156006
2022-09-01 20:39:37 +00:00
Dana Keeler de70845f50 Bug 1787942 - make securityInfo concrete as nsITransportSecurityInfo in nsIWebSocketChannel r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156005
2022-09-01 20:39:36 +00:00
Dana Keeler cf4e972ea5 Bug 1787995 - fix up missed changes in test_ech_grease.js for bug 1781104 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156009
2022-08-31 16:26:19 +00:00
Valentin Gosu 7c7eb2b453 Bug 1755660 - Add proxy test for POST request with a slow writer r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D155335
2022-08-31 11:56:52 +00:00
Valentin Gosu f6a797d5c4 Bug 1755660 - Allow node proxies to handle POST requests r=necko-reviewers,dragana
We move from http.get to http.request to be able to pass the method to
the proxied request.
We alsoread the data from the stream and pipe it to the new request.

Differential Revision: https://phabricator.services.mozilla.com/D155390
2022-08-31 11:56:51 +00:00