Bug 256452

Summary: Implement removeDataOfTypes to WKWebsiteDataStore
Product: WebKit Reporter: Kenji Shukuwa <kenji.shukuwa>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, kkinnunen, sihui_liu, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Kenji Shukuwa 2023-05-08 02:26:12 PDT
Currently, if you want to delete data in the WebsiteDataStore, you have to provide separate WK APIs for each type.
For this reason, the number of APIs increases as the number of types increases, which is inefficient.

On the other hand, the Cocoa port allows you to remove any data with only the removeDataOfTypes function.
This is so useful that we create a similar function in WKWebsiteDataStore.

Related bugs:
https://github.com/WebKit/WebKit/pull/6200#discussion_r1015767535
https://github.com/WebKit/WebKit/pull/12404#pullrequestreview-1375358900
Comment 1 Kenji Shukuwa 2023-05-08 15:41:06 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13605
Comment 2 Radar WebKit Bug Importer 2023-05-15 02:27:19 PDT
<rdar://problem/109344588>