Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1e4bf82ac6e8e375828cb4176c78dbf2d3c08d30
https://github.com/WebKit/WebKit/commit/1e4bf82ac6e8e375828cb4176c78dbf2d3c08d30
Author: Sihui Liu <[email protected]>
Date: 2024-08-30 (Fri, 30 Aug 2024)
Changed paths:
M Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm
Log Message:
-----------
Ensure network cache files and directories created by WebKit are excluded
from backup
https://bugs.webkit.org/show_bug.cgi?id=278944
rdar://121547438
Reviewed by Chris Dumez.
When client sets custom path for network cache storage, the path may not be
excluded from backup as the default WebKit
network cache directory. WebKit cannot mark the custom path as excluded from
backup as client may store some other
data in the directory, but WebKit can mark the files created by WebKit as
excluded because those files are not expected
to be backed up.
API test: WebKit.NetworkCacheExcludedFromBackup
* Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp:
(WebKit::NetworkCache::Storage::open):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
(TEST(WebKit, NetworkCacheExcludedFromBackup)):
Canonical link: https://commits.webkit.org/283002@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes