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

24703 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch f1911aef9a Bug 1718082 - track current tab using browserId instead of top browsing context id for network prioritization purposes, r=nika,mconley,necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D171646
2023-03-13 17:32:08 +00:00
Sean Feng e62365a145 Bug 1820192 - Add a hint of ORB blocking to developer console r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D172263
2023-03-13 15:39:38 +00:00
Marian-Vasile Laza ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang a60df34ad0 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-13 11:12:33 +00:00
Kershaw Chang 7d99157362 Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-13 11:12:33 +00:00
Kershaw Chang 2b54ddaca8 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-13 11:12:32 +00:00
Kershaw Chang 61e7a4cfe6 Bug 1809843 - Add a pref to force using HTTPS RR, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D166643
2023-03-13 11:12:32 +00:00
Kershaw Chang 555125377d Bug 1809843 - Make Http/3 server support proxy mode, r=necko-reviewers,valentin,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166642
2023-03-13 11:12:31 +00:00
Dana Keeler edd47623df Bug 1815768 - enable automatically regenerating test PKCS12 files r=jschanck
This adds a rudimentary method of regenerating test PKCS12 files via `mach
generate-test-certs`. Due to the complicated nature of the format, this
implementation ultimately relies on OpenSSL to implement the encryption and
encoding. genpgocert.py already relies on OpenSSL, so this is not a new
requirement. Additionally, due to the limited number of test PKCS12 files in
the tree, the options for creating these files are not very sophisticated. In
the future, it may be beneficial to create more kinds of files with various
properties, but at the moment this suffices.

Differential Revision: https://phabricator.services.mozilla.com/D172192
2023-03-10 23:55:23 +00:00
Dana Keeler 692d5b49d3 Bug 1821125 - bump versions of ohttp and bhttp r=valentin,necko-reviewers,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172150
2023-03-10 22:45:37 +00:00
Tim Huang c89fa7c1ae Bug 1821545 - Reset the mFingerprintingRandomKey of CookieJarSettings before setting it. r=anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D172213
2023-03-10 12:29:21 +00:00
ffxbld 65c8e686ae No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D172108
2023-03-09 12:57:42 +00:00
Christoph Kerschbaumer 5fbfd3fdf2 Bug 1819891: Remove Telemetry Probe MIXED_CONTENT_UPGRADE_SUCCESS, r=freddyb,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171975
2023-03-09 12:32:26 +00:00
Cristian Tuns 32646098cd Backed out changeset 63cc5bd9d512 (bug 909865) for causing hybrid bustages on nsHttpConnectionMgr.cpp 2023-03-09 00:56:40 -05:00
Andrew Creskey 95348c3bc7 Bug 909865 - Add telemetry for usage of speculative HTTP connections r=necko-reviewers,valentin
We want to have a better understanding of speculative connect failures and socket limit exhaustion before the fix to Bug 1813618 lands.

Differential Revision: https://phabricator.services.mozilla.com/D171586
2023-03-08 22:23:24 +00:00
Christoph Kerschbaumer 2f23427949 Bug 1819336: Collect Telemetry to compare success rate of regular image, video, audio loads and upgraded image, video, audio loads, r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D171460
2023-03-07 10:29:39 +00:00
Kershaw Chang d9cc964b17 Bug 1820408 - Call WebTransportSessionProxy::RetargetTo earlier, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171706
2023-03-07 09:24:40 +00:00
serge-sans-paille 2ba86b92ec Bug 948777 - Build netwerk/sctp/src in unified mode r=ng
Apply bundled patches and pull the trigger for UNIFIED_SOURCE
compatibility.

Depends on D170918

Differential Revision: https://phabricator.services.mozilla.com/D171743
2023-03-06 19:48:17 +00:00
serge-sans-paille d5dc8e74aa Bug 948777 - Build netwerk/sctp/src in unified mode r=ng
Bundle patches to prepare for unified build compatibility.

Differential Revision: https://phabricator.services.mozilla.com/D170918
2023-03-06 19:48:17 +00:00
Jonathan Kew 3002762e41 Bug 1812386 - Limit lookahead length in mozTXTToHTMLConv::NumberOfMatches to mitigate O(n^2) performance degradation. r=necko-reviewers,valentin
Arbitrarily limit how far we'll look ahead for matching delimiters,
to avoid hanging on huge strings.
This could result in failing to style a chunk of the content,
but it's unlikely any resulting styling would be useful anyhow.

Based on https://github.com/Betterbird/thunderbird-patches/blob/main/102/bugs/1812386-optimise-FindURLStart-End-m-c.patch

Differential Revision: https://phabricator.services.mozilla.com/D171720
2023-03-06 16:02:59 +00:00
Jonathan Kew 3775a087cc Bug 1812386 - Avoid some redundant string allocation/copying in mozTXTToHTMLConv. r=necko-reviewers,valentin
No change in behavior, purely a performance optimization.

Based on analysis by Betterbird project in https://bugzilla.mozilla.org/show_bug.cgi?id=1812386#c7
and patch at https://github.com/Betterbird/thunderbird-patches/blob/main/102/bugs/1812386-optimise-FindURLStart-End-m-c.patch

Differential Revision: https://phabricator.services.mozilla.com/D171699
2023-03-06 16:02:59 +00:00
Valentin Gosu 3af3e512ed Bug 1772057 - Add OSError to log when an error occurs in Http3Session::ProcessOutput calling SendWithAddress r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D171708
2023-03-06 14:09:10 +00:00
Christoph Kerschbaumer f9d32cc6f4 Bug 1819898: Use internal content policy types for determining IsUpgradableDisplayType, r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D171569
2023-03-06 10:08:00 +00:00
Valentin Gosu bd469c0f84 Bug 1817761 - Key telemetry differently when using OHTTP r=necko-reviewers,kershaw
For our initial experiment we'll be using the `dooh.cloudflared-dns.com`
domain for our resolver.
We probably should key things separately for OHTTP, but for now this
should be enough to capture the telemetry we are interested in.

Differential Revision: https://phabricator.services.mozilla.com/D171674
2023-03-06 09:25:42 +00:00
Mark Banner 30ec141b24 Bug 1819960 - Convert consumers of netwerk/ to import ES modules directly. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D171490
2023-03-04 11:15:30 +00:00
Mark Banner 6c4b226572 Bug 1819960 - Convert some netwerk files to ES modules. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D171489
2023-03-04 11:15:29 +00:00
sunil mayya 6660a846bd Bug 1817560 - set origin header from WebTransportSessionProxy. r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171510
2023-03-03 14:19:31 +00:00
Sandor Molnar c3648375f8 Backed out changeset fc25fcf256ca (bug 1817560) for causing xpc failures in dom/webtransport/test/xpcshell/test_close.js 2023-03-03 01:47:17 +02:00
sunil mayya b15408b80d Bug 1817560 - set origin header from WebTransportSessionProxy. r=jesup,necko-reviewers
The changes required to fix Bug 1817560  was partially submitted via https://phabricator.services.mozilla.com/D171451.
This review submits the remaining part of the fix.

Differential Revision: https://phabricator.services.mozilla.com/D171510
2023-03-02 23:13:36 +00:00
Tim Huang 449649877a Bug 1816064 - Part 2: Implement the fingerprinting randomization key to cookieJarSettings. r=tjr,pbz
This patch adds a fingerprintingRandomizationKey to the
nsICookieJarSettings. The random key will be generated when loading a
top-level http channel and set to the cookieJarSettings. The key will
propagate to the top-level documant and all sub-documents with the
cookieJarSettings. Accessing the fingerprintingRandomizationKey will
return an error if the fingerprinting randomization is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D170604
2023-03-02 21:47:06 +00:00
Sandor Molnar fb6a33a87f Backed out changeset 63a09dcaf7a6 (bug 1818828) for causing xpc failures in dom/webtransport/test/xpcshell/test_simple.js CLOSED TREE 2023-03-02 23:40:26 +02:00
edgul cd6db21d98 Bug 1818828 - Added basic DOM-using xpcshell testing for simple webtransport coverage. r=necko-reviewers,kershaw,jesup
Differential Revision: https://phabricator.services.mozilla.com/D170955
2023-03-02 20:59:35 +00:00
Nika Layzell d9c8a6fcbe Bug 1542802 - Part 1: Replace LazyIdleThread with a thin wrapper around nsThreadPool, r=jesup,gstoll
This does not reduce the number of threads we end up using in these
cases, but simplifies the complex implementation substantially by
relying on the idle thread lifetime management logic from nsThreadPool.

The nsISerialEventTarget implementation is maintained by wrapping the
nsThreadPool with a TaskQueue.

As a result of using these more reliable backing implementations, the
type is now also safe to use from any thread, rather than requiring
dispatches to all occur from the creator thread.

Unfortunately, this required some changes to the
UntrustedModulesProcessor, which was relying on the ability to fetch the
PRThread* (and from that the HANDLE) from the lazy thread in order to
perform priority changes on it. This was fixed by using a
nsIThreadPoolListener to watch the thread being created and destroyed,
and manually record a HANDLE to the thread which can be used for these
priority changes.

Differential Revision: https://phabricator.services.mozilla.com/D168017
2023-03-02 15:52:32 +00:00
Csoregi Natalia d62d0a4b52 Backed out changeset 1850378d993b (bug 1818828) for causing webtransport failures. CLOSED TREE 2023-03-02 17:20:15 +02:00
edgul c8f09208a8 Bug 1818828 - Added basic DOM-using xpcshell testing for simple webtransport coverage. r=necko-reviewers,kershaw,jesup
Differential Revision: https://phabricator.services.mozilla.com/D170955
2023-03-02 14:30:23 +00:00
serge-sans-paille 3fd778c976 Bug 1819824 - Vendor sctp using `mach vendor` r=bwc
As a side effect, remove a few source files that were still lying in the
source directory while being removed from upstream (as a result of
79ca9da9d33c82ce06bd9b4c7e1558536b569ec9).

Differential Revision: https://phabricator.services.mozilla.com/D171430
2023-03-02 13:50:37 +00:00
ffxbld 9b1992d9e6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D171456
2023-03-02 12:42:58 +00:00
Paul Zuehlcke 15c7095f11 Bug 1818956 - Convert URLQueryStringStripper to XPCOM service and init on profile-on-change. r=anti-tracking-reviewers,necko-reviewers,jesup,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D171392
2023-03-02 11:18:07 +00:00
Valentin Gosu 906efb8be5 Bug 1817692 - Websites with DNAME records would not be accessed if DoH only mode is enabled r=necko-reviewers,jesup
When encountering an unknown record type in the answers we should be able to ignore it if we don't know how to parse that type.

Differential Revision: https://phabricator.services.mozilla.com/D171092
2023-03-02 09:39:05 +00:00
Valentin Gosu 3bc699057b Bug 1818653 - Ignore delayed response in ChannelListener to avoid android TV failures r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D171441
2023-03-02 09:38:38 +00:00
Hannah Peuckmann c5aa7ca9ce Bug 1815738 - record type of 401 request.r=necko-reviewers,pbz,valentin
Differential Revision: https://phabricator.services.mozilla.com/D169894
2023-03-02 08:37:57 +00:00
Butkovits Atila ac029a126f Backed out changeset 188db2f94c8e (bug 1809931) for causing failures at test_fetch_event.html. CLOSED TREE 2023-03-01 17:39:38 +02:00
Andreas Farre 4b69c300a0 Bug 1809931 - Explicitly check for top-level loads when running ORB. r=sefeng,necko-reviewers,valentin
With HTTPS-First top-level loads can have a loading principal, so we
need to explicitly check the load info if we're doing a top-level
load.

Differential Revision: https://phabricator.services.mozilla.com/D171315
2023-03-01 14:52:25 +00:00
Stanca Serban 70d03cec59 Backed out changeset 5912bbda2937 (bug 1815738) for causing xpcshell failures in netwerk/test/unit/test_auth_dialog_permission.js. CLOSED TREE 2023-03-01 12:34:54 +02:00
Hannah Peuckmann 28b4f88f22 Bug 1815738 - record type of 401 request.r=necko-reviewers,pbz,valentin
Differential Revision: https://phabricator.services.mozilla.com/D169894
2023-03-01 09:24:56 +00:00
Hannah Peuckmann 7d95913448 Bug 1819529 - Add test cases for cookie clearing in time range. r=pbz,necko-reviewers,valentin,edgul
Differential Revision: https://phabricator.services.mozilla.com/D170377
2023-03-01 07:54:05 +00:00
Sean Feng 27084394a5 Bug 1809518 - Special case the HTTPS Only timeout request to make it bypass ORB r=farre,necko-reviewers
This particular request is used to identify the potential timeout issue
for HTTPS only requests. ORB doesn't need to block this request.

Differential Revision: https://phabricator.services.mozilla.com/D170251
2023-02-28 19:46:11 +00:00
Sean Feng 84f1835811 Bug 1809518 - Allow requests that are maded by devtools bypass ORB r=farre,necko-reviewers
Devtools use its own mainThreadFetch to fetch resources when it's
needed. For example, fetching the content of a source file. Importantly,
these request use `TYPE_OTHER` which could be blocked by ORB. Having
ORB block requests coming from devtools break some of it
functionalities.

Differential Revision: https://phabricator.services.mozilla.com/D170250
2023-02-28 19:46:11 +00:00
Neil Deakin 1cc5883b43 Bug 1815062, move filename and extension validity checks into SanitizeFileName so that they get called after sanitization is complete, r=Gijs,necko-reviewers
For now, this leaves existing callers of DownloadPaths.sanitize as is using a flag.

Differential Revision: https://phabricator.services.mozilla.com/D169124
2023-02-28 18:57:24 +00:00
Marian-Vasile Laza c39ea4a713 Backed out 15 changesets (bug 1809518) for wpt failures on navigation-headers.https.html.
Backed out changeset d245efcf2257 (bug 1809518)
Backed out changeset 3f29ad282371 (bug 1809518)
Backed out changeset 8f77fb0ddfef (bug 1809518)
Backed out changeset b1f9dcd5f147 (bug 1809518)
Backed out changeset eda8f3ef3fdb (bug 1809518)
Backed out changeset 85f4c2ca24e0 (bug 1809518)
Backed out changeset 92b774c122c9 (bug 1809518)
Backed out changeset b6e6065c79ff (bug 1809518)
Backed out changeset 724a5c7bba6a (bug 1809518)
Backed out changeset 224ccbc28c49 (bug 1809518)
Backed out changeset cc88d68be920 (bug 1809518)
Backed out changeset c02d3f25c880 (bug 1809518)
Backed out changeset 597cb423049d (bug 1809518)
Backed out changeset ae56071e154f (bug 1809518)
Backed out changeset 563403090c7f (bug 1809518)
2023-02-28 20:42:23 +02:00