fune/netwerk
sunil mayya 342149fc2f Bug 1845848 - prevent disk cache entries eviction for private browsing mode. r=necko-reviewers,valentin
The assertion in the bug is because we were trying to evict disk cache entries in the context of private browsing mode.
Generally, for Private browsing mode we don't write use Disk Storage. During the [initialization](https://searchfox.org/mozilla-central/source/netwerk/cache2/CacheStorageService.cpp#1557).  of storage entry, WriteToDisk[https://searchfox.org/mozilla-central/rev/5f0a7ca8968ac5cef8846e1d970ef178b8b76dcc/netwerk/cache2/CacheStorage.h#54] will be false due to private browsing mode. Due to this, we are sure that private browsing mode cache entries wont be written to disks.

The solution for the bug here is to prevent an attempt to evict the disk cache entries in private browsing mode, similar to the check in [DoomStorageEntries](https://searchfox.org/mozilla-central/source/netwerk/cache2/CacheStorageService.cpp#1929).

Differential Revision: https://phabricator.services.mozilla.com/D204810
2024-03-18 08:49:10 +00:00
..
base Bug 621429 - Added button to allow WPAD while using system proxy settings. r=necko-reviewers,fluent-reviewers,settings-reviewers,kershaw,bolsson,Gijs 2024-03-08 04:38:55 +00:00
build
cache2 Bug 1845848 - prevent disk cache entries eviction for private browsing mode. r=necko-reviewers,valentin 2024-03-18 08:49:10 +00:00
cookie Bug 1860033 - removeCookiesFromExactHost by serialized baseDomain for IPv6 cookies. r=pbz,cookie-reviewers,valentin 2024-03-07 13:24:24 +00:00
dns Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw 2024-03-14 17:42:28 +00:00
docs Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw 2024-03-14 17:42:28 +00:00
ipc Backed out 8 changesets (bug 1081542) for causing Bug 1885050 2024-03-13 06:15:27 -04:00
locales Bug 1873626 - Restrict cookies with partitioned attribution to be used only in secure contexts. r=bvandersloot,cookie-reviewers,edgul 2024-02-13 10:07:37 +00:00
mime Backed out 3 changesets (bug 1884785, bug 1884265) for causing build bustages in nsLocalHandlerApp.cpp CLOSED TREE 2024-03-13 13:43:40 -04:00
protocol Bug 1874132 - remove auth headers from preflight request for cross origin requests. r=necko-reviewers,valentin 2024-03-18 08:48:10 +00:00
sctp Bug 1862773: Remove ifdefs (and dead code) r=jesup,bwc 2024-02-27 13:39:45 +00:00
socket Bug 1882863 - Neqo v0.7.2, r=necko-reviewers,valentin 2024-03-13 16:18:45 +00:00
streamconv Bug 1883217 - Remove unused defines in IDL files r=webdriver-reviewers,necko-reviewers,credential-management-reviewers,places-reviewers,dom-core,Standard8,valentin,mccr8,sgalich 2024-03-06 19:04:25 +00:00
system
test Backed out changeset d1d9d57a9895 (bug 1865394) for causing failures at browser_net_har_copy_all_as_har.js. CLOSED TREE 2024-03-13 21:04:58 +02:00
url-classifier
wifi Bug 1880192 - [3.5/5] ThreadUtils.h: remove little-used storage cases r=xpcom-reviewers,necko-reviewers,jesup,nika 2024-03-05 17:22:22 +00:00
metrics.yaml Bug 1883391 - add telemetry to collect delta between OnDataFinished and OnStopRequest in CSSLoader. r=necko-reviewers,valentin 2024-03-10 19:03:13 +00:00
moz.build