[webkit-changes] [WebKit/WebKit] 2a9280: CacheStorageCache should update size file when all...
Sihui
noreply at github.com
Tue Jan 31 20:52:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a92809741635a6895fae66b03a812f944e407ad
https://github.com/WebKit/WebKit/commit/2a92809741635a6895fae66b03a812f944e407ad
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M LayoutTests/http/wpt/cache-storage/cache-quota-add.any-expected.txt
M LayoutTests/http/wpt/cache-storage/cache-quota-add.any.js
M Source/WebKit/NetworkProcess/storage/CacheStorageCache.cpp
Log Message:
-----------
CacheStorageCache should update size file when all records are removed
https://bugs.webkit.org/show_bug.cgi?id=251418
rdar://104852161
Reviewed by Youenn Fablet.
CacheStorageCache currently updates size file when records are added and removed, but not when all records are removed
(cleared).
* LayoutTests/http/wpt/cache-storage/cache-quota-add.any-expected.txt:
* LayoutTests/http/wpt/cache-storage/cache-quota-add.any.js:
(promise_test.async test):
* Source/WebKit/NetworkProcess/storage/CacheStorageCache.cpp:
(WebKit::CacheStorageCache::removeAllRecords):
Canonical link: https://commits.webkit.org/259660@main
More information about the webkit-changes
mailing list