Commit Graph
58 Commits
Author SHA1 Message Date
Kershaw Chang ad0ee41358 Bug 2042598 - Pause Happy Eyeballs when a racer waits on a client cert, r=mxinden,keeler
Differential Revision: https://phabricator.services.mozilla.com/D302988
2026-06-08 19:13:30 +00:00
Elena Vendrame b666716a9f Bug 2025715 - Add a method to read HTTP CONNECT response headers. r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D289468
2026-05-25 13:39:23 +00:00
Lars Eggert 19a679870d Bug 2017274 - Fix HTTP3Server.start() port parsing r=kershaw,necko-reviewers
The 6-group regex failed on esr140 whose http3server outputs 5 ports,
causing start() to throw on every test run after the previous uplift.
Replace with a single capturing group over the ports section, and
guard the 6-port field assignments behind a length check.

Differential Revision: https://phabricator.services.mozilla.com/D300260
2026-05-13 12:09:32 +00:00
Valentin Gosu 61062bc494 Bug 1742061 - Make NodeServers.sys.mjs automatically generate a TLS cert for chosen hostnames r=necko-reviewers,kershaw
This change adds a vibe-coded cert encoder to NodeServers. The cert gets signed with http2-ca.pem
This avoids vendoring any new node dependencies, as we don't have the proper JS bindings from NSS
and PKI.js doesn't export all the asn1js value types.
This is fine for regular testing needs, and can be improved in the future if needed.

Differential Revision: https://phabricator.services.mozilla.com/D298630
2026-05-06 20:14:17 +00:00
Valentin Gosu f8701ce192 Bug 2017712 - Fix nodeServer cert path discovery r=necko-reviewers,jesup
For mochitests the relative path to the http2 cert is slightly different.
This change tries multiple paths to find the location of the cert.

Differential Revision: https://phabricator.services.mozilla.com/D295844
2026-05-02 12:29:29 +00:00
Alexandru Marc f2a38584c6 Revert "Bug 2017712 - Defer LNA prompt for public-private https channels r=necko-reviewers,kershaw" for causing bc failures @ browser_test_local_network_access_sni_leak
This reverts commit 7bcac42a16.

Revert "Bug 2017712 - Test that public-private LNA prompts are not displayed if the https cert validation fails r=necko-reviewers,valentin"

This reverts commit 73bf045a74.

Revert "Bug 2017712 - Fix nodeServer cert path discovery r=necko-reviewers,jesup"

This reverts commit 2010991b76.
2026-05-01 22:37:34 +00:00
Valentin Gosu 2010991b76 Bug 2017712 - Fix nodeServer cert path discovery r=necko-reviewers,jesup
For mochitests the relative path to the http2 cert is slightly different.
This change tries multiple paths to find the location of the cert.

Differential Revision: https://phabricator.services.mozilla.com/D295844
2026-05-01 21:14:04 +00:00
Kershaw Chang 63f00b1de6 Bug 1978895 - Add TCP echo server for CONNECT-only tests, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D274346
2026-04-30 16:01:59 +00:00
Alexandru Marc b06bfdebb5 Revert "Bug 2017712 - Defer LNA prompt for public-private https channels r=necko-reviewers,sunil,kershaw" for causing bc failures @ browser_test_local_network_access_sni_leak
This reverts commit 274344f6a4.

Revert "Bug 2017712 - Test that public-private LNA prompts are not displayed if the https cert validation fails r=necko-reviewers,sunil"

This reverts commit 8b3356caac.

Revert "Bug 2017712 - Fix nodeServer cert path discovery r=necko-reviewers,jesup"

This reverts commit ee0b9083c4.
2026-04-29 11:38:54 +00:00
Valentin Gosu ee0b9083c4 Bug 2017712 - Fix nodeServer cert path discovery r=necko-reviewers,jesup
For mochitests the relative path to the http2 cert is slightly different.
This change tries multiple paths to find the location of the cert.

Differential Revision: https://phabricator.services.mozilla.com/D295844
2026-04-29 10:56:29 +00:00
Lars Eggert 007532019d Bug 2017274 - Fix intermittent timeout in test_http3_alt_svc.js r=kershaw,necko-reviewers
HTTP3Server.start() returned undefined when its regex failed to match server
output, causing test_https_alt_svc to poll indefinitely against an invalid
route. Fix by throwing on unexpected output, handling server start failures in
.catch handlers, bounding the alt-svc polling loop with MAX_POLL_RETRIES, and
adding a timeout to the speculative connect observer.

Differential Revision: https://phabricator.services.mozilla.com/D293815
2026-04-13 10:35:56 +00:00
Valentin Gosu b309709845 Bug 2021594 - Test that LNA connection does not leak SNI before prompt is accepted r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D287124
2026-03-16 22:16:18 +00:00
Silaghi bd3d8e0816 Revert "Bug 2021594 - Test that LNA connection does not leak SNI before prompt is accepted r=necko-reviewers,kershaw" for causing browser chrome failures at LNA permissions
This reverts commit b56511f97a.

Revert "Bug 2021594 - Close the LNA TCP connection after establishment to avoid SNI leak r=necko-reviewers,kershaw"

This reverts commit e94c634cbd.
2026-03-16 10:45:03 +00:00
Valentin Gosu b56511f97a Bug 2021594 - Test that LNA connection does not leak SNI before prompt is accepted r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D287124
2026-03-16 09:49:24 +00:00
Kershaw Chang cdf5f3dc32 Bug 2001117 - Add network.trr.force_http3_first pref to try HTTP/3 first for DoH connections, r=necko-reviewers,jesup,valentin
Differential Revision: https://phabricator.services.mozilla.com/D277889
2026-01-14 22:21:00 +00:00
Valentin Gosu d61831fb55 Bug 2001617 - Add Websocket with proxies test r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D273788
2025-11-26 11:02:56 +00:00
Valentin Gosu 5788cbc48a Bug 2001617 - Add plaintext WS server r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D273787
2025-11-26 11:02:53 +00:00
Sandor Molnar 1d36e9abd7 Revert "Bug 2001617 - Add WebSocket with maque proxy test r=necko-reviewers,kershaw" for causing xpc failures @ test_websocket_proxy.js
This reverts commit 77cd2bd4ed.

Revert "Bug 2001617 - Fix WS with masque proxy r=necko-reviewers,kershaw"

This reverts commit 26058b267b.

Revert "Bug 2001617 - Add Websocket with proxies test r=necko-reviewers,kershaw"

This reverts commit d4e4ae2c21.

Revert "Bug 2001617 - Add plaintext WS server r=necko-reviewers,kershaw"

This reverts commit c9fb372171.
2025-11-25 18:22:30 +00:00
Valentin Gosu d4e4ae2c21 Bug 2001617 - Add Websocket with proxies test r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D273788
2025-11-25 15:49:41 +00:00
Valentin Gosu c9fb372171 Bug 2001617 - Add plaintext WS server r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D273787
2025-11-25 15:49:38 +00:00
agoloman 81568ecfb7 Revert "Bug 2001617 - Add WebSocket with maque proxy test r=necko-reviewers,kershaw" for causing xpc failures @test_websocket_proxy.js.
This reverts commit 5ef8cd615d.

Revert "Bug 2001617 - Fix WS with masque proxy r=necko-reviewers,kershaw"

This reverts commit eba1592b16.

Revert "Bug 2001617 - Add Websocket with proxies test r=necko-reviewers,kershaw"

This reverts commit 23d523ef3f.

Revert "Bug 2001617 - Add plaintext WS server r=necko-reviewers,kershaw"

This reverts commit 23935e4b50.
2025-11-25 12:11:57 +00:00
Valentin Gosu 23d523ef3f Bug 2001617 - Add Websocket with proxies test r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D273788
2025-11-25 10:54:44 +00:00
Valentin Gosu 23935e4b50 Bug 2001617 - Add plaintext WS server r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D273787
2025-11-25 10:54:42 +00:00
Valentin Gosu 8893737b3a Bug 1998894 - Rename pathTemplate to masqueTemplate r=robwu,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D271748
2025-11-09 22:30:57 +00:00
agoloman 6b2f39b6ca Revert "Bug 1994648 - Run current HTTP/2 tests with HTTP/3 proxy, r=necko-reviewers,valentin" for causing xpc failures @test_node_execute.js.
This reverts commit 73e5637f99.
2025-10-18 00:34:13 +00:00
Kershaw Chang 73e5637f99 Bug 1994648 - Run current HTTP/2 tests with HTTP/3 proxy, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D268838
2025-10-17 23:34:29 +00:00
Randell Jesup 7dd24a8c10 Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263730
2025-10-07 19:05:38 +00:00
agoloman 09c39febaf Revert (Bug 1917965, Bug 1984198, Bug 1917970, Bug 1978496, Bug 1917974, Bug 1917965, Bug 1988076, Bug 1918741, Bug 1984157, Bug 1979087, Bug 1978494, Bug 1917976, Bug 1950965, Bug 1978495, Bug 1949981, Bug 1950972, Bug 1917975, Bug 1918013, Bug 1975014, Bug 1917982, Bug 1917963, Bug 1975024) - for causing build bustages @CacheIndex.cpp
This reverts commit 26c4a68ff7.

Revert "Bug 1978495: Make clear-site-data synchronous r=necko-reviewers,valentin"

This reverts commit 19e809294c.

Revert "Bug 1917965: Bug Fix for AddStandardHeaders and an await in TRR r=necko-reviewers,valentin"

This reverts commit 4c4a17eaeb.

Revert "Bug 1984198: Fix for ipv6 clear by principal for Compression Dictionaries r=edgul"

This reverts commit da9fc176ae.

Revert "Bug 1917970: Update handling of removing encodings for CompressionDictionaries r=necko-reviewers,valentin,kershaw"

This reverts commit 4c73126208.

Revert "Bug 1978496: Add markers for Compression Dictionaries #necko-reviewers! r=necko-reviewers,valentin"

This reverts commit d7cb9a5e0b.

Revert "Bug 1917974: Move CompressionDictionaries AddAcceptAndDictionaryHeaders to run earlier r=necko-reviewers,kershaw,devtools-reviewers,bomsy"

This reverts commit df63d60f8f.

Revert "Bug 1917965: Update cache listener changes to ensure data is cached in compressed form r=necko-reviewers,kershaw"

This reverts commit 46c6d977d7.

Revert "Bug 1917970: only remove dcb and dcz Content-Encodings r=necko-reviewers,kershaw"

This reverts commit bc645c1e24.

Revert "Bug 1988076: Shutdown cleanup issues for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 22c04bad81.

Revert "Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin"

This reverts commit b09a89245a.

Revert "Bug 1917974: Clean up call to GetDictionaryFor() r=valentin,necko-reviewers"

This reverts commit b4d8ad3a34.

Revert "Bug 1917965: Minor Compression Dictionary cleanup r=necko-reviewers,valentin"

This reverts commit 9ef82139ca.

Revert "Bug 1978496: Add more logs for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit a85f97ac8c.

Revert "Bug 1984157: Vary support for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 780bddc945.

Revert "Bug 1917965: Add design doc r=necko-reviewers,kershaw"

This reverts commit cf09ea9257.

Revert "Bug 1979087: Use URLPattern for matching Compression Dictionary entries r=edgul,necko-reviewers,kershaw"

This reverts commit 69720d6199.

Revert "Bug 1978494: Fix GetOriginalHeader to account for new header type r=necko-reviewers,valentin"

This reverts commit 0939a45626.

Revert "Bug 1978494: Don't use stale dictionaries, more logs, improve handling of dictionary origin reading r=necko-reviewers,valentin"

This reverts commit a2c00deb4d.

Revert "Bug 1917976: Compression Dictionary match-dest support r=necko-reviewers,valentin,kershaw"

This reverts commit bf874cae0d.

Revert "Bug 1950965: about:cache support for Compression Dictionaries and cleanup r=necko-reviewers,valentin"

This reverts commit 115be236bf.

Revert "Bug 1978495: Compression Dictionaries clear-site and clear cookies support r=necko-reviewers,valentin"

This reverts commit 62d7f7168e.

Revert "Bug 1917974: Add OPEN_COMPLETE_ONLY and use it for Compression Dictionary Prefetch r=necko-reviewers,valentin"

This reverts commit 5076f7a779.

Revert "Bug 1917974: Hook in Prefetching of cache entries for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 77f0cd1912.

Revert "Bug 1949981: Add code to clear Compression Dictionary entries r=necko-reviewers,valentin"

This reverts commit 515eb81e07.

Revert "Bug 1978494: Read and write of per-origin compression dictionary cache entries/metadata r=necko-reviewers,valentin"

This reverts commit 32fb24708c.

Revert "Bug 1950972: Allow changing Content-Encoding header when we decompress for cache storage r=necko-reviewers,valentin"

This reverts commit c7c5e2b800.

Revert "Bug 1917974: Add OnCacheEntryCallbacks for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit e599730050.

Revert "Bug 1917974: Make GetDictionaryFor async since we need to query the cache r=necko-reviewers,valentin"

This reverts commit 33cb96b72f.

Revert "Bug 1917975: Compression Dictionary initial metadata parsing r=necko-reviewers,valentin"

This reverts commit 2f04f4d43c.

Revert "Bug 1917975: Read dictionaries from cache for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 23e72a7efc.

Revert "Bug 1918013: Compression Dictionaries link rel= support r=smaug,necko-reviewers,kershaw"

This reverts commit f45f89e188.

Revert "Bug 1975014: Add a pref for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit 0042928354.

Revert "Bug 1978496: Add logs for CompressionDictionaries r=necko-reviewers,sunil,kershaw"

This reverts commit 15dec18026.

Revert "Bug 1917970: Support decoding brotli & zstd dictionary-encoded streams r=necko-reviewers,valentin"

This reverts commit 3dfc96583b.

Revert "Bug 1917965: Add support for dcb and dcz content-encoding r=necko-reviewers,valentin"

This reverts commit fec1a197f4.

Revert "Bug 1917974: Accumulate Dictionary hash values r=necko-reviewers,sunil"

This reverts commit 5cdbe885bc.

Revert "Bug 1917982: Support use_as_dictionary response headers r=necko-reviewers,kershaw"

This reverts commit 642c049998.

Revert "Bug 1917965: Add initial Dictionary in-memory structures r=necko-reviewers,kershaw"

This reverts commit 19ab2d5af8.

Revert "Bug 1917963: Add Cache flags for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit e31fee5400.

Revert "Bug 1917963: Break out adding Accept-Encoding headers r=necko-reviewers,sunil,kershaw"

This reverts commit 93bd84a618.

Revert "Bug 1918741: Change Compression Dictionary WPTs to assume pass r=necko-reviewers,kershaw"

This reverts commit e83caa2c66.

Revert "Bug 1975024: Cleanup Cache code and locks in prep for Compression Dictionaries #necko-reviewers r=necko-reviewers,kershaw"

This reverts commit 5dd4896f18.
2025-10-07 17:29:13 +00:00
Randell Jesup b09a89245a Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263730
2025-10-07 15:39:23 +00:00
Atila Butkovits 59187fbc73 Revert "Bug 1917982, Bug 1917965, Bug 1984198, Bug 1917970, Bug 1978496, Bug 1917974, Bug 1988076, Bug 1918741, Bug 1978496, Bug 1984157, Bug 1979087, Bug 1978494, Bug 1917976, Bug 1950965, Bug 1978495, Bug 1949981, Bug 1950972, Bug 1917975, Bug 1918013, Bug 1975014, Bug 1978496, Bug 1917982, Bug 1917963, Bug 1975024 - Bustage fix for Compression Dictionaries" for causing failures /dictionary-compressed.tentative.https.html.
This reverts commit fed0875f9c.

Revert "Bug 1917965: Bug Fix for AddStandardHeaders and an await in TRR r=necko-reviewers,valentin"

This reverts commit 6b674e258c.

Revert "Bug 1984198: Fix for ipv6 clear by principal for Compression Dictionaries r=edgul"

This reverts commit 368f63d711.

Revert "Bug 1917970: Update handling of removing encodings for CompressionDictionaries r=necko-reviewers,valentin,kershaw"

This reverts commit e820181a13.

Revert "Bug 1978496: Add markers for Compression Dictionaries #necko-reviewers! r=necko-reviewers,valentin"

This reverts commit f28af4e893.

Revert "Bug 1917974: Move CompressionDictionaries AddAcceptAndDictionaryHeaders to run earlier r=necko-reviewers,kershaw,devtools-reviewers,bomsy"

This reverts commit 1c5e6866db.

Revert "Bug 1917965: Update cache listener changes to ensure data is cached in compressed form r=necko-reviewers,kershaw"

This reverts commit 61b10d9023.

Revert "Bug 1917970: only remove dcb and dcz Content-Encodings r=necko-reviewers,kershaw"

This reverts commit de8a7623b8.

Revert "Bug 1988076: Shutdown cleanup issues for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 029f476c05.

Revert "Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin"

This reverts commit fef96f00d6.

Revert "Bug 1917974: Clean up call to GetDictionaryFor() r=valentin,necko-reviewers"

This reverts commit dd77492425.

Revert "Bug 1917965: Minor Compression Dictionary cleanup r=necko-reviewers,valentin"

This reverts commit 0c8682ebee.

Revert "Bug 1978496: Add more logs for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 37389b2704.

Revert "Bug 1984157: Vary support for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit fa25812c95.

Revert "Bug 1917965: Add design doc r=necko-reviewers,kershaw"

This reverts commit c234e14284.

Revert "Bug 1979087: Use URLPattern for matching Compression Dictionary entries r=edgul,necko-reviewers,kershaw"

This reverts commit 894b391c09.

Revert "Bug 1978494: Fix GetOriginalHeader to account for new header type r=necko-reviewers,valentin"

This reverts commit 15b1e288ee.

Revert "Bug 1978494: Don't use stale dictionaries, more logs, improve handling of dictionary origin reading r=necko-reviewers,valentin"

This reverts commit 08db8b11eb.

Revert "Bug 1917976: Compression Dictionary match-dest support r=necko-reviewers,valentin,kershaw"

This reverts commit 12e8ea415d.

Revert "Bug 1950965: about:cache support for Compression Dictionaries and cleanup r=necko-reviewers,valentin"

This reverts commit 308c182b39.

Revert "Bug 1978495: Compression Dictionaries clear-site and clear cookies support r=necko-reviewers,valentin"

This reverts commit ccced9f287.

Revert "Bug 1917974: Add OPEN_COMPLETE_ONLY and use it for Compression Dictionary Prefetch r=necko-reviewers,valentin"

This reverts commit aabfdecb3a.

Revert "Bug 1917974: Hook in Prefetching of cache entries for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit c9e18bdf3b.

Revert "Bug 1949981: Add code to clear Compression Dictionary entries r=necko-reviewers,valentin"

This reverts commit 17923efc19.

Revert "Bug 1978494: Read and write of per-origin compression dictionary cache entries/metadata r=necko-reviewers,valentin"

This reverts commit eb6c192657.

Revert "Bug 1950972: Allow changing Content-Encoding header when we decompress for cache storage r=necko-reviewers,valentin"

This reverts commit 6ffc1d8f59.

Revert "Bug 1917974: Add OnCacheEntryCallbacks for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 179b725f16.

Revert "Bug 1917974: Make GetDictionaryFor async since we need to query the cache r=necko-reviewers,valentin"

This reverts commit 719a8a0e61.

Revert "Bug 1917975: Compression Dictionary initial metadata parsing r=necko-reviewers,valentin"

This reverts commit f136e15168.

Revert "Bug 1917975: Read dictionaries from cache for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit b0311449f9.

Revert "Bug 1918013: Compression Dictionaries link rel= support r=smaug,necko-reviewers,kershaw"

This reverts commit fe57630b1d.

Revert "Bug 1975014: Add a pref for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit 3ce6095849.

Revert "Bug 1978496: Add logs for CompressionDictionaries r=necko-reviewers,sunil,kershaw"

This reverts commit b1edef3cef.

Revert "Bug 1917970: Support decoding brotli & zstd dictionary-encoded streams r=necko-reviewers,valentin"

This reverts commit d4c735d662.

Revert "Bug 1917965: Add support for dcb and dcz content-encoding r=necko-reviewers,valentin"

This reverts commit 24da1c66cf.

Revert "Bug 1917974: Accumulate Dictionary hash values r=necko-reviewers,sunil"

This reverts commit ed3b6cd3ec.

Revert "Bug 1917982: Support use_as_dictionary response headers r=necko-reviewers,kershaw"

This reverts commit 193a608480.

Revert "Bug 1917965: Add initial Dictionary in-memory structures r=necko-reviewers,kershaw"

This reverts commit fb79c5cf99.

Revert "Bug 1917963: Add Cache flags for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit defcbb1ecb.

Revert "Bug 1917963: Break out adding Accept-Encoding headers r=necko-reviewers,sunil,kershaw"

This reverts commit 805e20dc69.

Revert "Bug 1918741: Change Compression Dictionary WPTs to assume pass r=necko-reviewers,kershaw"

This reverts commit c15147919a.
2025-10-02 10:47:07 +00:00
Randell Jesup fef96f00d6 Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263730
2025-10-01 18:50:22 +00:00
Kershaw Chang 6987f2e01b Bug 1991314 - Use the no-response port of the dynamically created server, r=necko-reviewers,valentin
In test_http_connect_fallback, the MOZHTTP3_PORT_NO_RESPONSE port is a global variable, so it might also be used by another server.
To avoid conflicts, we can instead use the no-response port from the dynamically created server.

Differential Revision: https://phabricator.services.mozilla.com/D266964
2025-10-01 11:21:31 +00:00
pstanciu ae99b0b77a Revert (Bug 1917976, Bug 1975024, Bug 1918741, Bug 1917963, Bug 1917965, Bug 1917982, Bug 1917974, Bug 1917965, Bug 1917970, Bug 1978496, Bug 1975014, Bug 1918013, Bug 1950972, Bug 1978494, Bug 1949981, Bug 1978495, Bug 1950965) : for causing bustages at Dictionary.h and xpc failures.
This reverts commit 514a56ce7c.

Revert "Bug 1984198: Fix for ipv6 clear by principal for Compression Dictionaries r=edgul"

This reverts commit 49e75644bb.

Revert "Bug 1917970: Update handling of removing encodings for CompressionDictionaries r=necko-reviewers,valentin,kershaw"

This reverts commit 753967e2d6.

Revert "Bug 1978496: Add markers for Compression Dictionaries #necko-reviewers! r=necko-reviewers,valentin"

This reverts commit 19f91b61eb.

Revert "Bug 1917974: Move CompressionDictionaries AddAcceptAndDictionaryHeaders to run earlier r=necko-reviewers,kershaw,devtools-reviewers,bomsy"

This reverts commit f178e71d24.

Revert "Bug 1917965: Update cache listener changes to ensure data is cached in compressed form r=necko-reviewers,kershaw"

This reverts commit 25abb43ee9.

Revert "Bug 1917970: only remove dcb and dcz Content-Encodings r=necko-reviewers,kershaw"

This reverts commit bc04c2d7a0.

Revert "Bug 1988076: Shutdown cleanup issues for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 5d0db3ea2e.

Revert "Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin"

This reverts commit 82843be7c5.

Revert "Bug 1917974: Clean up call to GetDictionaryFor() r=valentin,necko-reviewers"

This reverts commit 97c3a788a8.

Revert "Bug 1917965: Minor Compression Dictionary cleanup r=necko-reviewers,valentin"

This reverts commit 6367b70657.

Revert "Bug 1978496: Add more logs for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 66b2d52697.

Revert "Bug 1984157: Vary support for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 1288fcf5b7.

Revert "Bug 1917965: Add design doc r=necko-reviewers,kershaw"

This reverts commit b420476321.

Revert "Bug 1979087: Use URLPattern for matching Compression Dictionary entries r=edgul,necko-reviewers,kershaw"

This reverts commit 806745b1b8.

Revert "Bug 1978494: Fix GetOriginalHeader to account for new header type r=necko-reviewers,valentin"

This reverts commit e3673c58e0.

Revert "Bug 1978494: Don't use stale dictionaries, more logs, improve handling of dictionary origin reading r=necko-reviewers,valentin"

This reverts commit e682425023.

Revert "Bug 1917976: Compression Dictionary match-dest support r=necko-reviewers,valentin,kershaw"

This reverts commit a5b3788a8a.

Revert "Bug 1950965: about:cache support for Compression Dictionaries and cleanup r=necko-reviewers,valentin"

This reverts commit f55e2fd4e4.

Revert "Bug 1978495: Compression Dictionaries clear-site and clear cookies support r=necko-reviewers,valentin"

This reverts commit 81b73f489d.

Revert "Bug 1917974: Add OPEN_COMPLETE_ONLY and use it for Compression Dictionary Prefetch r=necko-reviewers,valentin"

This reverts commit f320951077.

Revert "Bug 1917974: Hook in Prefetching of cache entries for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 8dc5e144c1.

Revert "Bug 1949981: Add code to clear Compression Dictionary entries r=necko-reviewers,valentin"

This reverts commit f5038a3aec.

Revert "Bug 1978494: Read and write of per-origin compression dictionary cache entries/metadata r=necko-reviewers,valentin"

This reverts commit cf88b3debf.

Revert "Bug 1950972: Allow changing Content-Encoding header when we decompress for cache storage r=necko-reviewers,valentin"

This reverts commit 8804a2dac8.

Revert "Bug 1917974: Add OnCacheEntryCallbacks for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 3ce506bc4b.

Revert "Bug 1917974: Make GetDictionaryFor async since we need to query the cache r=necko-reviewers,valentin"

This reverts commit a6a46a5458.

Revert "Bug 1917975: Compression Dictionary initial metadata parsing r=necko-reviewers,valentin"

This reverts commit ca97899007.

Revert "Bug 1917975: Read dictionaries from cache for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit ec1bb860f9.

Revert "Bug 1918013: Compression Dictionaries link rel= support r=smaug,necko-reviewers,kershaw"

This reverts commit 5ade563439.

Revert "Bug 1975014: Add a pref for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit a57404e2ad.

Revert "Bug 1978496: Add logs for CompressionDictionaries r=necko-reviewers,sunil,kershaw"

This reverts commit 14ec12fcb5.

Revert "Bug 1917970: Support decoding brotli & zstd dictionary-encoded streams r=necko-reviewers,valentin"

This reverts commit dd343a079f.

Revert "Bug 1917965: Add support for dcb and dcz content-encoding r=necko-reviewers,valentin"

This reverts commit c780e137ed.

Revert "Bug 1917974: Accumulate Dictionary hash values r=necko-reviewers,sunil"

This reverts commit 33dee2c198.

Revert "Bug 1917982: Support use_as_dictionary response headers r=necko-reviewers,kershaw"

This reverts commit f69e983309.

Revert "Bug 1917965: Add initial Dictionary in-memory structures r=necko-reviewers,kershaw"

This reverts commit eb2fad282b.

Revert "Bug 1917963: Add Cache flags for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit b57a4024b3.

Revert "Bug 1917963: Break out adding Accept-Encoding headers r=necko-reviewers,sunil,kershaw"

This reverts commit 684a2582ad.

Revert "Bug 1918741: Change Compression Dictionary WPTs to assume pass r=necko-reviewers,kershaw"

This reverts commit a6aa9be773.

Revert "Bug 1975024: Cleanup Cache code and locks in prep for Compression Dictionaries #necko-reviewers r=necko-reviewers,kershaw"

This reverts commit a6c4d697d2.
2025-09-30 05:52:17 +00:00
Randell Jesup 82843be7c5 Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263730
2025-09-30 04:12:48 +00:00
Alexandru Marc d3c24eb0c8 Revert (Bug 1917965, Bug 1984198, Bug 1917970, Bug 1978496, Bug 1917974, Bug 1917965, Bug 1988076, Bug 1918741, Bug 1984157, Bug 1979087, Bug 1978494, Bug 1917976, Bug 1950965, Bug 1978495, Bug 1949981, Bug 1950972, Bug 1917975, Bug 1918013, Bug 1975014, Bug 1917982, Bug 1917963, Bug 1975024) for causing multiple failures
This reverts commit a62de19085.

Revert "Bug 1984198: Fix for ipv6 clear by principal for Compression Dictionaries r=edgul"

This reverts commit b8431ff2c9.

Revert "Bug 1917970: Update handling of removing encodings for CompressionDictionaries r=necko-reviewers,valentin"

This reverts commit 3fc14c6c42.

Revert "Bug 1978496: Add markers for Compression Dictionaries #necko-reviewers! r=necko-reviewers,valentin"

This reverts commit 9e82d0a532.

Revert "Bug 1917974: Move CompressionDictionaries AddAcceptAndDictionaryHeaders to run earlier r=necko-reviewers,kershaw,devtools-reviewers,bomsy"

This reverts commit f358804607.

Revert "Bug 1917965: Update cache listener changes to ensure data is cached in compressed form r=necko-reviewers,kershaw"

This reverts commit e4b0ee01ef.

Revert "Bug 1917970: only remove dcb and dcz Content-Encodings r=necko-reviewers,kershaw"

This reverts commit 8856e191eb.

Revert "Bug 1988076: Shutdown cleanup issues for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 298f2719ca.

Revert "Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin"

This reverts commit d0be459d57.

Revert "Bug 1917974: Clean up call to GetDictionaryFor() r=valentin,necko-reviewers"

This reverts commit e2a5d4310e.

Revert "Bug 1917965: Minor Compression Dictionary cleanup r=necko-reviewers,valentin"

This reverts commit fb15b15ecc.

Revert "Bug 1978496: Add more logs for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 76b5d5bfa9.

Revert "Bug 1984157: Vary support for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 683c7f75bb.

Revert "Bug 1917965: Add design doc r=necko-reviewers,kershaw"

This reverts commit bbb367ba0f.

Revert "Bug 1979087: Use URLPattern for matching Compression Dictionary entries r=edgul,necko-reviewers,kershaw"

This reverts commit 1bd9f8c4cd.

Revert "Bug 1978494: Fix GetOriginalHeader to account for new header type r=necko-reviewers,valentin"

This reverts commit b26eaba8f2.

Revert "Bug 1978494: Don't use stale dictionaries, more logs, improve handling of dictionary origin reading r=necko-reviewers,valentin"

This reverts commit 20e14f4d49.

Revert "Bug 1917976: Compression Dictionary match-dest support r=necko-reviewers,valentin"

This reverts commit 1c5baa2cd3.

Revert "Bug 1950965: about:cache support for Compression Dictionaries and cleanup r=necko-reviewers,valentin"

This reverts commit 4e477f6d6b.

Revert "Bug 1978495: Compression Dictionaries clear-site and clear cookies support r=necko-reviewers,valentin"

This reverts commit aa0c36b471.

Revert "Bug 1917974: Add OPEN_COMPLETE_ONLY and use it for Compression Dictionary Prefetch r=necko-reviewers,valentin"

This reverts commit b112c8033c.

Revert "Bug 1917974: Hook in Prefetching of cache entries for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 92e5123e80.

Revert "Bug 1949981: Add code to clear Compression Dictionary entries r=necko-reviewers,valentin"

This reverts commit 74138e9d5a.

Revert "Bug 1978494: Read and write of per-origin compression dictionary cache entries/metadata r=necko-reviewers,valentin"

This reverts commit 335f2c9fbb.

Revert "Bug 1950972: Allow changing Content-Encoding header when we decompress for cache storage r=necko-reviewers,valentin"

This reverts commit 39204f248f.

Revert "Bug 1917974: Add OnCacheEntryCallbacks for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit f98d53f3d8.

Revert "Bug 1917974: Make GetDictionaryFor async since we need to query the cache r=necko-reviewers,valentin"

This reverts commit a7a3926186.

Revert "Bug 1917975: Compression Dictionary initial metadata parsing r=necko-reviewers,valentin"

This reverts commit 9f9ea602f2.

Revert "Bug 1917975: Read dictionaries from cache for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit f09139041d.

Revert "Bug 1918013: Compression Dictionaries link rel= support r=smaug,necko-reviewers,kershaw"

This reverts commit 65fd9e3ed6.

Revert "Bug 1975014: Add a pref for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit e7d7622f1f.

Revert "Bug 1978496: Add logs for CompressionDictionaries r=necko-reviewers,sunil,kershaw"

This reverts commit 571cd66ff1.

Revert "Bug 1917970: Support decoding brotli & zstd dictionary-encoded streams r=necko-reviewers,valentin"

This reverts commit 824777a5bd.

Revert "Bug 1917965: Add support for dcb and dcz content-encoding r=necko-reviewers,valentin"

This reverts commit eb9526c598.

Revert "Bug 1917974: Accumulate Dictionary hash values r=necko-reviewers,sunil"

This reverts commit 015daa433c.

Revert "Bug 1917982: Support use_as_dictionary response headers r=necko-reviewers,kershaw"

This reverts commit b56fb26d92.

Revert "Bug 1917965: Add initial Dictionary in-memory structures r=necko-reviewers,kershaw"

This reverts commit 54ccef454d.

Revert "Bug 1917963: Add Cache flags for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit 6ab1d8ea49.

Revert "Bug 1917963: Break out adding Accept-Encoding headers r=necko-reviewers,sunil,kershaw"

This reverts commit 88f0f57e8c.

Revert "Bug 1918741: Change Compression Dictionary WPTs to assume pass r=necko-reviewers,kershaw"

This reverts commit 678a1957f2.

Revert "Bug 1975024: Cleanup Cache code and locks in prep for Compression Dictionaries #necko-reviewers r=necko-reviewers,kershaw"

This reverts commit 564fa92834.
2025-09-29 06:44:40 +00:00
Randell Jesup d0be459d57 Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263730
2025-09-29 05:05:06 +00:00
Sandor Molnar cb358f86a6 Revert "Bug 1984198: Fix for ipv6 clear by principal for Compression Dictionaries r=edgul" for causing multiple failures.
This reverts commit 226f13bbaa.

Revert "Bug 1917970: Update handling of removing encodings for CompressionDictionaries r=necko-reviewers,valentin"

This reverts commit 34075340a1.

Revert "Bug 1978496: Add markers for Compression Dictionaries #necko-reviewers! r=necko-reviewers,valentin"

This reverts commit 9bd8f245ed.

Revert "Bug 1917974: Move CompressionDictionaries AddAcceptAndDictionaryHeaders to run earlier r=necko-reviewers,kershaw,devtools-reviewers,bomsy"

This reverts commit 1e9c6f2132.

Revert "Bug 1917965: Update cache listener changes to ensure data is cached in compressed form r=necko-reviewers,kershaw"

This reverts commit 282dc849ce.

Revert "Bug 1917970: only remove dcb and dcz Content-Encodings r=necko-reviewers,kershaw"

This reverts commit 9a96ce3cf6.

Revert "Bug 1988076: Shutdown cleanup issues for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 0174e07469.

Revert "Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin"

This reverts commit 59404a79bc.

Revert "Bug 1917974: Clean up call to GetDictionaryFor() r=valentin,necko-reviewers"

This reverts commit b62c076aa4.

Revert "Bug 1917965: Minor Compression Dictionary cleanup r=necko-reviewers,valentin"

This reverts commit cd0280c5ac.

Revert "Bug 1978496: Add more logs for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 7839774cd9.

Revert "Bug 1984157: Vary support for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit fa667bc385.

Revert "Bug 1917965: Add design doc r=necko-reviewers,kershaw"

This reverts commit 61fdb8a09b.

Revert "Bug 1979087: Use URLPattern for matching Compression Dictionary entries r=edgul,necko-reviewers,kershaw"

This reverts commit 35d7f5a214.

Revert "Bug 1978494: Fix GetOriginalHeader to account for new header type r=necko-reviewers,valentin"

This reverts commit 5a5a9a0958.

Revert "Bug 1978494: Don't use stale dictionaries, more logs, improve handling of dictionary origin reading r=necko-reviewers,valentin"

This reverts commit 44958040fe.

Revert "Bug 1917976: Compression Dictionary match-dest support r=necko-reviewers,valentin"

This reverts commit d9cd937a33.

Revert "Bug 1950965: about:cache support for Compression Dictionaries and cleanup r=necko-reviewers,valentin"

This reverts commit e9b14c6d0e.

Revert "Bug 1978495: Compression Dictionaries clear-site and clear cookies support r=necko-reviewers,valentin"

This reverts commit 2663be7031.

Revert "Bug 1917974: Add OPEN_COMPLETE_ONLY and use it for Compression Dictionary Prefetch r=necko-reviewers,valentin"

This reverts commit 695c5efddd.

Revert "Bug 1917974: Hook in Prefetching of cache entries for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 66d6a7822d.

Revert "Bug 1949981: Add code to clear Compression Dictionary entries r=necko-reviewers,valentin"

This reverts commit cc4dedfaa4.

Revert "Bug 1978494: Read and write of per-origin compression dictionary cache entries/metadata r=necko-reviewers,valentin"

This reverts commit 3ba403a61b.

Revert "Bug 1950972: Allow changing Content-Encoding header when we decompress for cache storage r=necko-reviewers,valentin"

This reverts commit 2cf713afef.

Revert "Bug 1917974: Add OnCacheEntryCallbacks for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 7cab0d4a55.

Revert "Bug 1917974: Make GetDictionaryFor async since we need to query the cache r=necko-reviewers,valentin"

This reverts commit f9141e066c.

Revert "Bug 1917975: Compression Dictionary initial metadata parsing r=necko-reviewers,valentin"

This reverts commit 662b14aa21.

Revert "Bug 1917975: Read dictionaries from cache for Compression Dictionaries r=necko-reviewers,valentin"

This reverts commit 30550b7b7e.

Revert "Bug 1918013: Compression Dictionaries link rel= support r=smaug,necko-reviewers,kershaw"

This reverts commit d5761cadb5.

Revert "Bug 1975014: Add a pref for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit 124a4b4fc1.

Revert "Bug 1978496: Add logs for CompressionDictionaries r=necko-reviewers,sunil,kershaw"

This reverts commit d59c44aa80.

Revert "Bug 1917970: Support decoding brotli & zstd dictionary-encoded streams r=necko-reviewers,valentin"

This reverts commit da5fa5f46a.

Revert "Bug 1917965: Add support for dcb and dcz content-encoding r=necko-reviewers,valentin"

This reverts commit f7d7f70e67.

Revert "Bug 1917974: Accumulate Dictionary hash values r=necko-reviewers,sunil"

This reverts commit e51d5b97d8.

Revert "Bug 1917982: Support use_as_dictionary response headers r=necko-reviewers,kershaw"

This reverts commit cce783fbec.

Revert "Bug 1917965: Add initial Dictionary in-memory structures r=necko-reviewers,kershaw"

This reverts commit b33fb96b0a.

Revert "Bug 1917963: Add Cache flags for Compression Dictionaries r=necko-reviewers,kershaw"

This reverts commit 97b52209a1.

Revert "Bug 1917963: Break out adding Accept-Encoding headers r=necko-reviewers,sunil,kershaw"

This reverts commit 0e13d73649.

Revert "Bug 1918741: Change Compression Dictionary WPTs to assume pass r=necko-reviewers,kershaw"

This reverts commit 5f59bcdc64.

Revert "Bug 1975024: Cleanup Cache code and locks in prep for Compression Dictionaries #necko-reviewers r=necko-reviewers,kershaw"

This reverts commit f275cacfa2.
2025-09-27 00:03:58 +00:00
Randell Jesup 59404a79bc Bug 1918741: Add unit tests for Compression Dictionaries r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263730
2025-09-26 22:25:25 +00:00
Valentin Gosu 42ea6dd0b4 Bug 1985952 - Use "masque" for proxyInfo type r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D266155
2025-09-26 07:57:36 +00:00
Kershaw Chang 5d33bd731a Bug 1985952 - Fix test failures, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D266121
2025-09-26 07:57:33 +00:00
Max Leonard Inden 6cb2408d63 Bug 1986006 - implement HTTP/3 HTTP CONNECT and HTTP/3 connect-udp proxy server r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263116
2025-09-26 07:57:24 +00:00
Narcis Beleuzu e3edc0d851 Revert "Bug 1985952 - Use "masque" for proxyInfo type r=necko-reviewers,kershaw" for causing bustages on nsProxyInfo.cpp
This reverts commit f2268143f4.

This reverts commit 5752fd752f.

This reverts commit 6d8c154668.

This reverts commit 94fe538e24.

This reverts commit d251e074c4.
2025-09-25 21:08:32 +00:00
Valentin Gosu f2268143f4 Bug 1985952 - Use "masque" for proxyInfo type r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D266155
2025-09-25 20:02:32 +00:00
Kershaw Chang 5752fd752f Bug 1985952 - Fix test failures, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D266121
2025-09-25 20:02:29 +00:00
Max Leonard Inden d251e074c4 Bug 1986006 - implement HTTP/3 HTTP CONNECT and HTTP/3 connect-udp proxy server r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263116
2025-09-25 20:02:20 +00:00
agoloman a8577afeaf Revert (Bug 1985952, Bug 1986006) - for causing build bustages @TestHttp3ConnectUDPStream.cpp.
This reverts commit 801d397d49.

Revert "Bug 1985952 - Fix test failures, r=necko-reviewers,valentin"

This reverts commit 2ddd6e769e.

Revert "Bug 1985952 - Add basic tests for HTTP/3 proxy, r=necko-reviewers,valentin"

This reverts commit a09fd39012.

Revert "Bug 1986006 - update linux hostutils, r=mxinden"

This reverts commit abc33785b2.

Revert "Bug 1986006 - implement HTTP/3 HTTP CONNECT and HTTP/3 connect-udp proxy server r=necko-reviewers,valentin"

This reverts commit 7643ed4734.
2025-09-25 15:57:13 +00:00
Valentin Gosu 801d397d49 Bug 1985952 - Use "masque" for proxyInfo type r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D266155
2025-09-25 15:09:52 +00:00
Kershaw Chang 2ddd6e769e Bug 1985952 - Fix test failures, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D266121
2025-09-25 15:09:49 +00:00
Max Leonard Inden 7643ed4734 Bug 1986006 - implement HTTP/3 HTTP CONNECT and HTTP/3 connect-udp proxy server r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D263116
2025-09-25 15:09:40 +00:00
Valentin Gosu 2aba6f59bf Bug 1989900 - Make NodeServer hide ERR_HTTP2_INVALID_STREAM errors instead of throwing them r=necko-reviewers,jesup
The issue here is that:
  1. The client cancels a request mid-flight
  2. This destroys the HTTP/2 stream on the Node.js side
  3. But the server code still tries to call stream.respond() on the destroyed stream
  4. This causes ERR_HTTP2_INVALID_STREAM errors to be logged

Differential Revision: https://phabricator.services.mozilla.com/D265749
2025-09-25 09:50:27 +00:00