Bug 256452 - Implement removeDataOfTypes to WKWebsiteDataStore
Summary: Implement removeDataOfTypes to WKWebsiteDataStore
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-08 02:26 PDT by Kenji Shukuwa
Modified: 2023-05-15 02:27 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>