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.
<rdar://problem/27391925>
Created attachment 285132 [details] Patch v1
https://trac.webkit.org/changeset/204041
Comment on attachment 285132 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=285132&action=review > Source/WebCore/platform/sql/SQLiteFileSystem.cpp:96 > + // 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!