Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
REGRESSION (r294469): [ iOS ] TestWebKitAPI.NSAttributedStringWebKitA…
…dditions.DirectoriesNotCreated is a consistent failure https://bugs.webkit.org/show_bug.cgi?id=240690 Reviewed by Chris Dumez. r294469 failed to check if WebsiteDataStore is persistent before getting and creating directories in WebProcessPool. To fix this and to avoid future issues, we make WebsiteDataStore return null for directory getters if it's not persistent. * Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp: (WebKit::GPUProcessProxy::GPUProcessProxy): * Source/WebKit/UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::webProcessDataStoreParameters): * Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: (WebKit::WebsiteDataStore::cookieStorageDirectory const): (WebKit::WebsiteDataStore::containerCachesDirectory const): (WebKit::WebsiteDataStore::parentBundleDirectory const): (WebKit::WebsiteDataStore::networkingCachesDirectory const): (WebKit::WebsiteDataStore::containerTemporaryDirectory const): (WebKit::WebsiteDataStore::defaultContainerTemporaryDirectory): (WebKit::WebsiteDataStore::cookieStorageDirectory): Deleted. (WebKit::WebsiteDataStore::containerCachesDirectory): Deleted. (WebKit::WebsiteDataStore::parentBundleDirectory): Deleted. (WebKit::WebsiteDataStore::networkingCachesDirectory): Deleted. (WebKit::WebsiteDataStore::containerTemporaryDirectory): Deleted. * Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h: Canonical link: https://commits.webkit.org/250884@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters