Commit Graph
298 Commits
Author SHA1 Message Date
smayya 47e5089fa2 Bug 2038012 - Gate No-Vary-Search cache integration behind network.cache.no_vary_search pref. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D302787
2026-05-28 12:40:59 +00:00
smayya 958a45100d Bug 2038008 - nsHttpChannel: store No-Vary-Search metadata and notify cache index on response. r=necko-reviewers,jesup,valentin
Adds nsHttp::No_Vary_Search atom for the No-Vary-Search response header.

When nsHttpChannel::UpdateCacheEntryHeaders() processes a response that
carries a No-Vary-Search header, it:
  1. Stores the raw header value as "no-vary-search" cache entry metadata
     via SetMetaDataElement.
  2. Calls CacheStorageService::NoteNoVarySearchEntry() to register the
     entry in the per-context mNoVarySearchIndex under its base path
     (scheme://host:port/path), enabling O(1) secondary lookup on future
     cache misses for variant URLs.

CacheStorageService::NoteNoVarySearchEntry() acquires sLock and forwards
to the right CacheEntryTable::NoteNoVarySearchEntry().

Differential Revision: https://phabricator.services.mozilla.com/D299715
2026-05-28 12:40:53 +00:00
Daniel Holbert a88c0883b9 Bug 2037761: Change RegisterStrongMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug
The callsites now mostly use MakeAndAddRef (which just stuffs a new object into
a RefPtr and calls `forget()` to yield an already_AddRefed).

In cases where the callsite constructs the object earlier and retains a strong
reference, they'll now use do_AddRef to explicitly generate a strong reference
(as an already_AddRefed) to pass into RegisterStrongMemoryReporter.

Differential Revision: https://phabricator.services.mozilla.com/D299042
2026-05-07 19:37:43 +00:00
Sandor Molnar 9987bc0bd7 Revert "Bug 2037761: Change RegisterStrongAsyncMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug" for causing build bustages
This reverts commit 1ab110ab2f.

Revert "Bug 2037761: Change RegisterStrongMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug"

This reverts commit 2e187ddbc8.
2026-05-07 08:23:58 +00:00
Daniel Holbert 2e187ddbc8 Bug 2037761: Change RegisterStrongMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug
The callsites now mostly use MakeAndAddRef (which just stuffs a new object into
a RefPtr and calls `forget()` to yield an already_AddRefed).

In cases where the callsite constructs the object earlier and retains a strong
reference, they'll now use do_AddRef to explicitly generate a strong reference
(as an already_AddRefed) to pass into RegisterStrongMemoryReporter.

Differential Revision: https://phabricator.services.mozilla.com/D299042
2026-05-07 07:49:42 +00:00
Florian Quèze 129f060046 Bug 2031444 - Clear CacheEntry pending callbacks at shutdown to break prevent-release cycle, r=necko-reviewers,jesup.
Differential Revision: https://phabricator.services.mozilla.com/D293994
2026-04-16 09:36:08 +00:00
Nika Layzell 5f0f9dd22a Bug 2020817 - Part 4: Annotate & clean up nsACString callers of BeginReading/Data, r=xpcom-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,toolkit-telemetry-reviewers-rotation,layout-reviewers,dom-worker-reviewers,gfx-reviewers,webgpu-reviewers,necko-reviewers,dom-core,smaug,handyman,emilio,pehrsons,kershaw,timhuang,edenchuang,padenot,bradwerth
This is a large number of largely mechanical changes. When possible, the code
was called to directly call `.get()` instead, performing the assertions
manually. In many places PromiseFlatCString() calls were added to dynamically
copy the strings into null terminated buffers if the string was not null
terminated.

Differential Revision: https://phabricator.services.mozilla.com/D286158
2026-03-25 08:23:04 +00:00
Sylvestre Ledru a22215a2f9 Bug 2023419 - Remove Emacs/Vim modelines from netwerk/ r=emilio,cookie-reviewers,valentin
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287861
2026-03-17 12:06:31 +00:00
Valentin Gosu ca0441ab2c Bug 2017214 - SetRegistered(false) when entries get removed from pool r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D284220
2026-02-23 09:40:26 +00:00
Valentin Gosu 44bd5382c0 Bug 2006028 - Remove predictor code r=necko-reviewers,firefox-style-system-reviewers,emilio,kershaw,extension-reviewers,toolkit-telemetry-reviewers,manuel,robwu
The network predictor used the HTTP cache as a database to learn browsing
patterns and make speculative DNS prefetches, TCP preconnects, and resource
prefetches. While this provided performance benefits for repeat visits to
frequently-accessed sites, it came with significant costs: I/O on every page
load, CPU overhead for prediction algorithms, memory for caching learned
patterns, and substantial IPC complexity with six message types coordinating
predictions between processes.

A large part of the functionality the predictor was meant to improve is now
available to webdevelopers. HTTP 103 Early Hints allow servers to explicitly
specify resources to preload while generating the response.
And Speculation Rules API will enable content authors to declaratively specify
prefetch/prerender behavior based on their knowledge of site structure and user
intent, providing immediate accuracy without a learning period.

The network.predictor.enable-hover-on-ssl preference is retained as it controls
simpler hover-triggered speculative connections that don't require the
predictor's learning system. This removal simplifies the codebase while
steering users toward more accurate, standards-based optimization mechanisms.

The one feature of the predictor which was never used was learning websites
that are opened soon after startup. There was no action taken based on this
info, and we could already predict this info based on the history database.

Differential Revision: https://phabricator.services.mozilla.com/D276437
2025-12-18 22:56:37 +00:00
Atila Butkovits 79e1b89109 Revert "Bug 2006028 - Remove predictor code r=necko-reviewers,firefox-style-system-reviewers,emilio,kershaw" for causing failures at test_basic.js.
This reverts commit 117ed7db99.
2025-12-16 09:52:23 +00:00
Valentin Gosu 117ed7db99 Bug 2006028 - Remove predictor code r=necko-reviewers,firefox-style-system-reviewers,emilio,kershaw
The network predictor used the HTTP cache as a database to learn browsing
patterns and make speculative DNS prefetches, TCP preconnects, and resource
prefetches. While this provided performance benefits for repeat visits to
frequently-accessed sites, it came with significant costs: I/O on every page
load, CPU overhead for prediction algorithms, memory for caching learned
patterns, and substantial IPC complexity with six message types coordinating
predictions between processes.

A large part of the functionality the predictor was meant to improve is now
available to webdevelopers. HTTP 103 Early Hints allow servers to explicitly
specify resources to preload while generating the response.
And Speculation Rules API will enable content authors to declaratively specify
prefetch/prerender behavior based on their knowledge of site structure and user
intent, providing immediate accuracy without a learning period.

The network.predictor.enable-hover-on-ssl preference is retained as it controls
simpler hover-triggered speculative connections that don't require the
predictor's learning system. This removal simplifies the codebase while
steering users toward more accurate, standards-based optimization mechanisms.

The one feature of the predictor which was never used was learning websites
that are opened soon after startup. There was no action taken based on this
info, and we could already predict this info based on the history database.

Differential Revision: https://phabricator.services.mozilla.com/D276437
2025-12-16 08:58:03 +00:00
Randell Jesup 36eff9701c Bug 2005909: Validate CompressionDictionary hashes and remove bad entries on failure r=necko-reviewers,valentin
This also fails the request at an earlier point; it would (probably) failed later on decompression.
It adds new testing APIs to allow this to be easily tested.

Differential Revision: https://phabricator.services.mozilla.com/D276397
2025-12-15 12:34:33 +00:00
Randell Jesup 10b6167045 Bug 2005749: Fix problem with inability to remove dictionaries from origins after a restart r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D276346
2025-12-13 17:37:34 +00:00
acreskeyMoz 1dccb6a4f3 Bug 1992829 - Remove or limit to beta and earlier the high-volume but low-value networking probes r=necko-reviewers,toolkit-telemetry-reviewers,jesup
To minimized performance impact and as general data best practices, let's remove or limit the channel collection for probes for which we are not currently deriving much value.

Differential Revision: https://phabricator.services.mozilla.com/D273112
2025-12-09 07:01:31 +00:00
Serban Stanca 8eb273c6f8 Revert "Bug 1992829 - Remove or limit to beta and earlier the high-volume but low-value networking probes r=necko-reviewers,toolkit-telemetry-reviewers,jesup" for causing python failures.
This reverts commit 5163d1551c.
2025-12-02 13:10:49 +00:00
acreskeyMoz 5163d1551c Bug 1992829 - Remove or limit to beta and earlier the high-volume but low-value networking probes r=necko-reviewers,toolkit-telemetry-reviewers,jesup
To minimized performance impact and as general data best practices, let's remove or limit the channel collection for probes for which we are not currently deriving much value.

Differential Revision: https://phabricator.services.mozilla.com/D273112
2025-12-02 12:07:01 +00:00
Serban Stanca 26dc220de5 Revert "Bug 1992829 - Remove or limit to beta and earlier the high-volume but low-value networking probes r=necko-reviewers,toolkit-telemetry-reviewers,jesup" for causing multiple failures.
This reverts commit 5cc32271f9.
2025-11-24 21:23:29 +00:00
acreskeyMoz 5cc32271f9 Bug 1992829 - Remove or limit to beta and earlier the high-volume but low-value networking probes r=necko-reviewers,toolkit-telemetry-reviewers,jesup
To minimized performance impact and as general data best practices, let's remove or limit the channel collection for probes for which we are not currently deriving much value.

Differential Revision: https://phabricator.services.mozilla.com/D273112
2025-11-24 20:47:58 +00:00
serge-sans-paille 6afd64cdec Bug 1999711 - Remove unused STL header inclusions in netwerk/** r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D272282
2025-11-13 10:24:05 +00:00
Randell Jesup 8b3064548e Bug 1993556: Disable cache purging during web-platform compression dictionary tests r=necko-reviewers,valentin,sunil
Differential Revision: https://phabricator.services.mozilla.com/D268191
2025-11-03 18:28:40 +00:00
Randell Jesup d7a5e533b3 Bug 1996560: Clear from dictionary cache on file removal, not metadata removal r=necko-reviewers,valentin,sunil
Introduces a new cache entry type to ease eviction scan.  Makes dictionary
origin removal depend directly on the origin being empty.
Also fix an issue with RemoveOrigin()

Differential Revision: https://phabricator.services.mozilla.com/D270169
2025-11-03 18:28:38 +00:00
Randell Jesup 29767dae3f Bug 1996305: Ensure Suspend() is called before starting async dictionary origin reads r=necko-reviewers,valentin
Also adds an explict path for deleting dictionary origin entries, so we
don't have empty DictionaryOrigin objects hanging around.

Differential Revision: https://phabricator.services.mozilla.com/D270002
2025-11-03 18:28:35 +00:00
Randell Jesup 257d067d01 Bug 1996298: PurgeByFrecency was over-purging due to holding references r=necko-reviewers,jstutte,valentin
Differential Revision: https://phabricator.services.mozilla.com/D270001
2025-11-03 18:28:33 +00:00
Cristian Tuns 0b834e0ecd Revert "Bug 1996848, Bug 1996560, Bug 1996305, Bug 1996298 - Disable AssertEmpty() from release builds for crashing frequently. r=gstoll" for causing bug 1996848, 1996764 and increase volume of bug 1994773
This reverts commit c5da1f9e6d.

Revert "Bug 1996560: Clear from dictionary cache on file removal, not metadata removal r=necko-reviewers,valentin"

This reverts commit 17d6947e95.

Revert "Bug 1996305: Ensure Suspend() is called before starting async dictionary origin reads r=necko-reviewers,valentin"

This reverts commit 10a3b59015.

Revert "Bug 1996298: PurgeByFrecency was over-purging due to holding references r=necko-reviewers,jstutte,valentin" for causing  bug 1996848, 1996764 and increase volume of bug 1994773

This reverts commit 3d93084ce3.
2025-10-29 21:46:21 +00:00
Randell Jesup 17d6947e95 Bug 1996560: Clear from dictionary cache on file removal, not metadata removal r=necko-reviewers,valentin
Also fix an issue with RemoveOrigin

Differential Revision: https://phabricator.services.mozilla.com/D270169
2025-10-27 18:21:16 +00:00
Randell Jesup 10a3b59015 Bug 1996305: Ensure Suspend() is called before starting async dictionary origin reads r=necko-reviewers,valentin
Also adds an explict path for deleting dictionary origin entries, so we
don't have empty DictionaryOrigin objects hanging around.

Differential Revision: https://phabricator.services.mozilla.com/D270002
2025-10-27 18:21:14 +00:00
Randell Jesup 3d93084ce3 Bug 1996298: PurgeByFrecency was over-purging due to holding references r=necko-reviewers,jstutte,valentin
Differential Revision: https://phabricator.services.mozilla.com/D270001
2025-10-27 18:21:11 +00:00
agoloman e46c06071e Revert "Bug 1996305: Ensure Suspend() is called before starting async dictionary origin reads r=necko-reviewers,valentin" for causing wpt failures @nsCOMPtr.h.
This reverts commit 9b1999e251.

Revert "Bug 1996298: PurgeByFrecency was over-purging due to holding references r=jstutte"

This reverts commit 37189355ec.
2025-10-25 05:59:49 +00:00
Randell Jesup 9b1999e251 Bug 1996305: Ensure Suspend() is called before starting async dictionary origin reads r=necko-reviewers,valentin
Also adds an explict path for deleting dictionary origin entries, so we
don't have empty DictionaryOrigin objects hanging around.

Differential Revision: https://phabricator.services.mozilla.com/D270002
2025-10-24 20:00:06 +00:00
Randell Jesup 37189355ec Bug 1996298: PurgeByFrecency was over-purging due to holding references r=jstutte
Differential Revision: https://phabricator.services.mozilla.com/D270001
2025-10-24 20:00:03 +00:00
Randell Jesup 9598c17b4f Bug 1995841: Show formatted data in about:cache for Compression Dictionary origin metadata r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D269647
2025-10-23 17:34:50 +00:00
Randell Jesup 331b03344f Bug 1995710: Don't purge dictionary cache entries r=necko-reviewers,valentin
Don't purge the metadata-only dictionary origin cache entries; when the
entries they refer to are deleted, the reference in the dictionary origin
cache entry will be removed

Differential Revision: https://phabricator.services.mozilla.com/D269559
2025-10-23 17:34:29 +00:00
Atila Butkovits 481dc19ee5 Revert "Bug 1995710: Don't purge dictionary cache entries r=necko-reviewers,valentin" for causing bustages at CacheStorageService.cpp.
This reverts commit d770ec9c90.
2025-10-22 14:38:24 +00:00
Randell Jesup d770ec9c90 Bug 1995710: Don't purge dictionary cache entries r=necko-reviewers,valentin
Don't purge the metadata-only dictionary origin cache entries; when the
entries they refer to are deleted, the reference in the dictionary origin
cache entry will be removed

Differential Revision: https://phabricator.services.mozilla.com/D269559
2025-10-22 13:41:38 +00:00
Randell Jesup e53b35013f Bug 1989178: Remove network.cache_purge_due_to_memory_limit telemetry r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D268043
2025-10-09 14:34:48 +00:00
Randell Jesup 1a065ced7d Bug 1978495: Make clear-site-data synchronous r=necko-reviewers,valentin
Also makes CacheStorageService::Clear() synchronous
Fixes a long-standing violation of the spec

Differential Revision: https://phabricator.services.mozilla.com/D267490
2025-10-07 19:06:12 +00:00
Randell Jesup 7e3bc66813 Bug 1988076: Shutdown cleanup issues for Compression Dictionaries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D264524
2025-10-07 19:05:42 +00:00
Randell Jesup dd73b3027d Bug 1950965: about:cache support for Compression Dictionaries and cleanup r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258168
2025-10-07 19:05:01 +00:00
Randell Jesup ef4c80cb06 Bug 1978495: Compression Dictionaries clear-site and clear cookies support r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258167
2025-10-07 19:04:58 +00:00
Randell Jesup f014fa8be1 Bug 1917974: Add OPEN_COMPLETE_ONLY and use it for Compression Dictionary Prefetch r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258166
2025-10-07 19:04:54 +00:00
Randell Jesup eacd93da22 Bug 1917974: Hook in Prefetching of cache entries for Compression Dictionaries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258165
2025-10-07 19:04:50 +00:00
Randell Jesup 8cc9073e81 Bug 1975024: Cleanup Cache code and locks in prep for Compression Dictionaries #necko-reviewers r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D255678
2025-10-07 19:03:40 +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 19e809294c Bug 1978495: Make clear-site-data synchronous r=necko-reviewers,valentin
Also makes CacheStorageService::Clear() synchronous
Fixes a long-standing violation of the spec

Differential Revision: https://phabricator.services.mozilla.com/D267490
2025-10-07 15:39:57 +00:00
Randell Jesup 22c04bad81 Bug 1988076: Shutdown cleanup issues for Compression Dictionaries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D264524
2025-10-07 15:39:27 +00:00
Randell Jesup 115be236bf Bug 1950965: about:cache support for Compression Dictionaries and cleanup r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258168
2025-10-07 15:38:46 +00:00
Randell Jesup 62d7f7168e Bug 1978495: Compression Dictionaries clear-site and clear cookies support r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258167
2025-10-07 15:38:43 +00:00
Randell Jesup 5076f7a779 Bug 1917974: Add OPEN_COMPLETE_ONLY and use it for Compression Dictionary Prefetch r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258166
2025-10-07 15:38:39 +00:00
Randell Jesup 77f0cd1912 Bug 1917974: Hook in Prefetching of cache entries for Compression Dictionaries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D258165
2025-10-07 15:38:35 +00:00