[Webkit-unassigned] [Bug 239857] ITP data not deleted when cleared via WebsiteDataStore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 13:33:36 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239857

--- Comment #27 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Kate Cheney from comment #26)
> It looks like we grandfather data in NetworkProcess::deleteWebsiteData if
> the specified website data types to delete do not contain all of ITP's
> monitored data types. I'm guessing that WEBKIT_WEBSITE_DATA_ITP is not
> translating to all the data types tracked in
> WebResourceLoadStatistics::monitoredDataTypes().

WEBKIT_WEBSITE_DATA_ITP is not a list of data types to delete. It's just WebsiteDataType::ResourceLoadStatistics.

> If there are things in that
> list that are port/platform specific we could add some flags, or adjust the
> types in webkit_website_data_manager_remove() to contain all ITP monitored
> types.

I don't think anything is platform-specific here. WebsiteDataType is a flags enum that specifies which website data types to delete. WebsiteDataStore allows you to delete all types at once, or only one type of data, or any combination of data types. In this case, we're deleting only the WebsiteDataType::ResourceLoadStatistics.

WebsiteDataStore's WebsiteDataTypes are expected to be independent.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220603/8b2c5675/attachment-0001.htm>


More information about the webkit-unassigned mailing list