Removing IndexeDB WebsiteData can fail for some users
If somebody removed website data in an earlier version of WebKit that only deleted sqlite3 files, the directories for the databases remain with -wal and -shm files.
Further attempts to fully clear the directories will refuse to run, leaving behind those files.
Those users will still see that site as taking up data in Safari preferences, and can't get out of that state without hitting the filesystem directly.
Let's help them.
Created attachment 285132 [details]
Comment on attachment 285132 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=285132&action=review
> + // If any of the wal or shm files remain after the delete attempt, the overall delete operation failed.
Should just say "any of the files"; "any of the wal or shm files" doesn’t match the code below that also looks at the main file!