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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 15 19:10:41 PDT 2022


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

--- Comment #13 from Michael Catanzaro <mcatanzaro at gnome.org> ---
If I do remove operations (remove ITP data for a particular domain, implemented in ResourceLoadStatisticsDatabaseStore::removeDataForDomain), the data does appear to get deleted properly. Only the clear operations (remove all ITP data for all domains, implemented in ResourceLoadStatisticsDatabaseStore::clear) seem to fail. But: if I do a remove operation followed by a clear operation, then it seems the clear operation somehow actually restores the ITP data that was previously removed! That's wild.

Taking a very quick look at ResourceLoadStatisticsDatabaseStore::clear, it winds up calling SQLiteDatabase::clearAllTables, which seems unlikely to fail. Perhaps the database is somehow getting repopulated using cached data? Or maybe the fetch operations are returning data that is no longer in the database? Requires further investigation.

Jon, since this is your area of expertise, I wonder if you can reproduce any of this behavior?

-- 
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/20220516/8c4072a3/attachment.htm>


More information about the webkit-unassigned mailing list