Introduce SPI _WKWebsitePolicies.websiteDataStore
Created attachment 329515 [details]
Comment on attachment 329515 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=329515&action=review
> +@property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA));
It seems weird to me that something called _WKWebsitePolicies would hold onto a data store. That doesn't strike me as a policy.
It's kind of a policy, but you're right. This is definitely the time of navigation when we want to swap out WebsiteDataStores, though. We can rename the SPI if we want, but it needs to go in this object.