The code in 'WebsiteDataStore::removeData' calls State::deleteData, even if there are no hostnames with data to be deleted. This causes a PluginProcess to be spun up for each plugin type, which is told to delete data from no websites. The processes then shut down. We shouldn't be doing this.
<rdar://problem/36082564>
I noticed this problem while doing further debugging and testing after the changes for Bug 180819. However, this bug existed before then.
Created attachment 329523 [details] Patch
Another fix might be to have State::deleteData() return early if hostNames or plugins is empty.
Yikes! That has been that way since 2015!
Comment on attachment 329523 [details] Patch r=me
Can we API test this? Seems like the kind of subtle mistake that might happen again.
Created attachment 329538 [details] Patch for landing
Comment on attachment 329538 [details] Patch for landing Clearing flags on attachment: 329538 Committed r225999: <https://trac.webkit.org/changeset/225999>
All reviewed patches have been landed. Closing bug.