[webkit-changes] [WebKit/WebKit] 36b750: defaultGeneralStorageDirectory should be under dat...
Sihui
noreply at github.com
Thu Feb 16 21:14:32 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 36b750551fee96f57386fcc2bed5d06b6f97adf9
https://github.com/WebKit/WebKit/commit/36b750551fee96f57386fcc2bed5d06b6f97adf9
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp
M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp
Log Message:
-----------
defaultGeneralStorageDirectory should be under data directory
https://bugs.webkit.org/show_bug.cgi?id=252428
rdar://105564298
Reviewed by Michael Catanzaro.
GeneralStorageDirectory hosts various data types that are not cache, like FileSystem, LocalStorage, and IndexedDB, so it
should not be under cache directory. Since data under cache directory should be evicted at some point, this patch does
not include migration or deletion of existing data.
* Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp:
(WebKit::FileSystemStorageHandle::FileSystemStorageHandle):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp:
(WebKit::WebsiteDataStoreConfiguration::initializePaths):
Canonical link: https://commits.webkit.org/260419@main
More information about the webkit-changes
mailing list