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

26035 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup 3718112208 Bug 1891506: Fix issue with net_CoalesceDirs r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207614
2024-04-19 15:00:37 +00:00
Valentin Gosu 05684b05da Bug 1851294 - Add nsITLSSocketControl.asyncStartTLS r=jschanck,necko-reviewers,kershaw
Thunderbird uses nsITLSSocketControl.startTLS to drive the XMPP
connection, but since we started enforcing proper thread safety in
bug 1847260, it's asserting when called on the main thread.

This patch marks StartTLS and proxyStartTLS as [noscript] and adds
asyncStartTLS. This new method dispatches a runnable to the socket thread
to call startTLS, then resolves (or rejects with the nsresult as an arg)
on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D207692
2024-04-19 09:42:41 +00:00
Stanca Serban 1619fc55f6 Backed out changeset 4c6df2bb5b6d (bug 1834381) for causing OS X Shippable sy-tp6 failures. CLOSED TREE 2024-04-19 07:38:21 +03:00
Bob Owen 4c06786dac Bug 1892226: Use inet_ntop directly on Windows to prevent mswsock.dll load. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D207858
2024-04-18 16:26:50 +00:00
longsonr 6d925e4227 Bug 1891941 - Use StringBeginsWith in CookieService r=dveditz,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207708
2024-04-18 14:49:25 +00:00
Kershaw Chang 983dcc86ba Bug 1834381 - Update mLastDataReadEpoch when receiving a PING, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D207541
2024-04-18 08:23:34 +00:00
Malte Juergens 10eef3283f Bug 1885949 - Do not copy over HTTPS-First upgrade flag into new loadinfo r=necko-reviewers,freddyb,simonf,jesup r=reland
Differential Revision: https://phabricator.services.mozilla.com/D205048
2024-04-17 12:35:56 +00:00
Noemi Erli d859c2989e Backed out changeset 28b2b5bfbed5 (bug 1885949) for causing http related mochitest failures CLOSED TREE 2024-04-17 19:32:37 +03:00
Andrew Creskey a9a0c7519b Bug 1596935 - Add tests for rel="dns-prefetch" r=necko-reviewers,valentin
Provide a mechanism to allows dns prefetch via proxy (for mochi browser tests), testing only.
And ensure that we resolve the dns-prefetched domain.

Differential Revision: https://phabricator.services.mozilla.com/D206550
2024-04-17 13:54:06 +00:00
Malte Juergens 0b87e0cf2a Bug 1885949 - Do not copy over HTTPS-First upgrade flag into new loadinfo r=necko-reviewers,freddyb,simonf,jesup
Differential Revision: https://phabricator.services.mozilla.com/D205048
2024-04-17 12:35:56 +00:00
Dennis Jackson 276e1e210c Bug 1891483 - Check parental controls before using ECH r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207443
2024-04-17 09:53:52 +00:00
Valentin Gosu 0e97d24398 Bug 1849686 - Refactor nsHttpChannel to add all headers before dispatching transaction r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D207430
2024-04-17 09:02:58 +00:00
Chris Peterson 360d2cb741 Bug 1891332 - Replace debug MOZ_ASSERT with MOZ_RELEASE_ASSERT in netwerk tests. r=necko-reviewers,kershaw,valentin
MOZ_ASSERT is only checked in debug builds, so release builds' tests are not checking these assertions.

Depends on D207374

Differential Revision: https://phabricator.services.mozilla.com/D207375
2024-04-17 03:26:30 +00:00
longsonr b4f52c1006 Bug 1891349 - Treat cookie name prefixes as case-insensitive r=dveditz,cookie-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D207412
2024-04-17 03:22:18 +00:00
Valentin Gosu bf6deef147 Bug 1885529 - Measure time spent in native HTTPS call r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D206335
2024-04-16 12:06:39 +00:00
dylan 70cc93ae5b Bug 1873944 - Also parse about and data urls with DefaultURI if starting with '/'. r=necko-reviewers,valentin,rpl
Differential Revision: https://phabricator.services.mozilla.com/D205062
2024-04-15 16:51:00 +00:00
Thomas Wisniewski 070d855f37 Bug 1886757 - Ignore a trailing dot in a hostname for the network.dns.localdomains pref; r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205415
2024-04-15 16:26:36 +00:00
ffxbld d28e49770e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D207433
2024-04-15 14:01:38 +00:00
Ser Freeman d2b6e6098c Bug 1810362 - Sort the addresses in a DNS lookup result so the IPv6 ones come first. r=valentin,necko-reviewers,kershaw
Introduce network.dns.preferIPv6 pref to place IPv6 addresses first in a DNS lookup result.

Differential Revision: https://phabricator.services.mozilla.com/D206843
2024-04-12 10:39:32 +00:00
ffxbld 6f6941d2b8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D207259
2024-04-11 16:39:06 +00:00
Kershaw Chang 12418af75b Bug 1890988 - Neqo v0.7.5, r=necko-reviewers,jesup,leggert
Differential Revision: https://phabricator.services.mozilla.com/D207264
2024-04-11 14:07:07 +00:00
Harshit Sohaney 15e5ac7e50 Bug 1881797 - (part 3) Testing for storage permission clearing in the new clear history dialog. r=pbz,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D204919
2024-04-09 15:39:32 +00:00
Randell Jesup 22df14537c Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205109
2024-04-09 15:26:46 +00:00
Tamas Szentpeteri 1f27a4022f Backed out 3 changesets (bug 1871963) for causing dt failures on browser_net_copy_as_powershell.js. CLOSED TREE
Backed out changeset 94e286542c9d (bug 1871963)
Backed out changeset dc2ad0369b86 (bug 1871963)
Backed out changeset 9fb8ccb2f305 (bug 1871963)
2024-04-09 17:24:37 +03:00
Kershaw Chang 57a7a5c835 Bug 1889691 - Update to Neqo 0.7.4 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D206996
2024-04-09 13:48:45 +00:00
Randell Jesup a2eef4b5e2 Bug 1889059: add sieve and osaut ports to the bad port list r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D206668
2024-04-09 12:56:29 +00:00
Randell Jesup b1ad40b8ee Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D205109
2024-04-09 12:31:56 +00:00
Tomislav Jovanovic cba422be0f Bug 1873386 - Drop unused nsIStreamTransportService::InputAvailable and nsIInputAvailableCallback r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206850
2024-04-09 11:29:23 +00:00
Tomislav Jovanovic 392dac6191 Bug 1873386 - Interfaces referenced from scriptable members need to be [scriptable] r=necko-reviewers,jschanck,mccr8,valentin
Differential Revision: https://phabricator.services.mozilla.com/D202104
2024-04-09 11:29:22 +00:00
Valentin Gosu 24d759d2a0 Bug 1890346 - Make sure net_CoalesceDirs doesn't overwrite initial / r=necko-reviewers,kershaw
Before bug 1887614 landed this bug was impossible to trigger because
urlPtr would always advance by the time we got to copying #?.
However, once we allowed calling net_CoalesceDirs for a dirLength > 0,
urlPtr will stay on the first character, while fwdPtr is on ?.

That meant we incorrectly coalesced "/..?" to "?".

Differential Revision: https://phabricator.services.mozilla.com/D206986
2024-04-09 11:26:24 +00:00
Kershaw Chang 2c116ddec0 Bug 1885801 - Disable TRR for PAC channel, r=necko-reviewers,jesup,valentin
Differential Revision: https://phabricator.services.mozilla.com/D205843
2024-04-09 09:51:30 +00:00
Gijs Kruitbosch e790dbc058 Bug 1887712 - remove the unused prompts.modalType.httpAuth pref, r=pbz,necko-reviewers,credential-management-reviewers,sgalich,issammani,valentin
Differential Revision: https://phabricator.services.mozilla.com/D206684
2024-04-08 13:46:38 +00:00
Sandor Molnar 67afcab3e4 Backed out changeset 317994df7ee4 (bug 1889691) for causing dt failures @ browser_webconsole_csp_violation.js / browser_inspector_reload_iframe.js 2024-04-08 16:47:13 +03:00
Kershaw Chang 245ce0bcb1 Bug 1889691 - Update to Neqo 0.7.3 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D206884
2024-04-08 10:16:41 +00:00
Valentin Gosu 7c9f1121a8 Bug 1887614 - Incorrect parsing of <file:.> URL r=edgul,tschuster
Differential Revision: https://phabricator.services.mozilla.com/D206625
2024-04-05 18:59:02 +00:00
Nika Layzell a48079cd72 Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8
Previously the `boolean` type was also declared using a `bool` typedef in
xpidl, meaning that both were used in various places. This patch standardizes
on the built-in `boolean` type, removing the typedef.

Differential Revision: https://phabricator.services.mozilla.com/D206382
2024-04-04 18:45:21 +00:00
Valentin Gosu 16f5e8d578 Bug 1420777 - Coalesce connections less aggresively r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204663
2024-04-04 17:24:35 +00:00
Mathew Hodson 9c35a1eb34 Bug 1887839 - Remove fission.remoteObjectEmbed pref r=farre
Differential Revision: https://phabricator.services.mozilla.com/D206574
2024-04-04 14:56:45 +00:00
Valentin Gosu e435d557c8 Bug 1885529 - Make sure HostRecordQueue::mPendingCount is accurate r=necko-reviewers,jesup
When calling MoveToAnotherPendig the record gets removed from the
pending queue, and InsertRecord is called. As InsertRecord again
increments mPendingCount, we need to decrement it when removing from
a pending queue to ensure it's accurate.

Depends on D206498

Differential Revision: https://phabricator.services.mozilla.com/D206503
2024-04-04 14:24:20 +00:00
Valentin Gosu 65941da2ae Bug 1885529 - Also update nsHostResolver::mActiveAnyThreadCount in CompleteLookupByTypeLocked when resolving via native DNS r=necko-reviewers,jesup
The issue here is only obvious on Windows, when network.dns.get-ttl=true
and network.dns.native_https_query=true.

GetTTL will cause another resolution to happen with a low priority,
but these don't get picked up unless
mActiveAnyThreadCount < MaxResolverThreadsAnyPriority()

This causes the DNS_NATIVE_QUEUING probe to increase since these
queries don't get picked up immediately.

Also decrementing mActiveAnyThreadCount for ByType records makes
sure it always has the correct value.

Differential Revision: https://phabricator.services.mozilla.com/D206498
2024-04-04 14:24:20 +00:00
edgul c156bcda24 Bug 1878001 - Add bypass list for DefaultURI fallback r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D200323
2024-04-04 14:13:58 +00:00
Emilio Cobos Álvarez e4ddf24147 Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen
Sorry for the massive patch but I found it hard to split without
introducing a bunch of copies around...

This mostly makes necko and DOM agree on which strings to use, which
should result on less copies and conversions.

Differential Revision: https://phabricator.services.mozilla.com/D205601
2024-04-04 11:49:57 +00:00
Randell Jesup 0cdcc1a148 Bug 1886734: Use Content-Length to decide if decompression should be off-MainThread r=necko-reviewers,valentin
Configurable with a pref

Differential Revision: https://phabricator.services.mozilla.com/D205313
2024-04-03 21:42:47 +00:00
Updatebot 2a141d7a7b Bug 1863224 - Apply mozilla patches for sctp r=ng
Depends on D204718

Differential Revision: https://phabricator.services.mozilla.com/D204719
2024-04-03 15:33:26 +00:00
Updatebot 82be37f0bc Bug 1863224 - Update sctp to 2952e9324299c5729ba9f03a87924f787868e494 r=ng
Differential Revision: https://phabricator.services.mozilla.com/D204718
2024-04-03 15:33:26 +00:00
Sandor Molnar ebde29e57a Backed out changeset 4191b252db9b (bug 1886734) for causing build bustages @netwerk/streamconv/converters/nsHTTPCompressConv.cpp 2024-04-03 17:49:24 +03:00
Randell Jesup ce730eb294 Bug 1886734: Use Content-Length to decide if decompression should be off-MainThread r=necko-reviewers,valentin
Configurable with a pref

Differential Revision: https://phabricator.services.mozilla.com/D205313
2024-04-03 13:12:56 +00:00
Henri Sivonen 8eb5a3e1d1 Bug 1886953 - Introduce deCOMtaminated IDNA functions and benchmark them r=necko-reviewers,valentin
The plan is to replace the implementations of these functions with an
ICU4X/Rust back end and then make the XPCOM versions call into these.

Migrating existing C++ callers is out of scope for this changeset.

Differential Revision: https://phabricator.services.mozilla.com/D205420
2024-04-03 06:43:28 +00:00
Benjamin VanderSloot 3ddc7ef05f Bug 1876575, part 3 - Fix tests relying on ABA being unpartitioned - r=anti-tracking-reviewers,timhuang,asuth
Differential Revision: https://phabricator.services.mozilla.com/D203929
2024-04-02 18:53:27 +00:00
Benjamin VanderSloot ba265bda60 Bug 1876575, part 1 - Make AntiTracking::IsThirdParty* aware of ABA case - r=anti-tracking-reviewers,cookie-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D203180
2024-04-02 18:53:26 +00:00