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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 11:36:45 PDT 2022


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

--- Comment #17 from Kate Cheney <katherine_cheney at apple.com> ---
(In reply to Michael Catanzaro from comment #16)
> (In reply to Kate Cheney from comment #15)
> > Knowing more about how you're confirming that the data re-appears would
> > probably be helpful. We can at least eliminate (3) if re-starting the
> > session still shows the previously-cleared data appearing.
> 
> This dialog displays the result of webkit_website_data_manager_fetch().
> 
> When describing the behavior above, I didn't even restart anything. Epiphany
> would have just done a new fetch() operation on the existing
> WebKitWebsiteDataManager (the WPE/GTK API wrapper around WebsiteDataStore).
> 

My thought here was that any in-memory storage would be cleared after a session restart. If we restart and still see the cleared data appearing, then we know that domains are in the ITP database (either never were cleared or were re-inserted) and not just hanging around in memory somewhere. Might give us some additional info.

> > (1) and (2) will be harder to test without some logging or deeper inspection
> > of the database file itself.
> 
> I'll try to look a little deeper....

Looking for calls to ResourceLoadStatisticsDatabaseStore::insertObservedDomain might be useful here. That's how we enter new domains into the database. If we see that being called for domains previously deleted, we know that ITP is re-inserting some deleted domains.

-- 
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/cd884e49/attachment.htm>


More information about the webkit-unassigned mailing list