Currently we only close databases which have open database connections before deleting file.
Created attachment 358210 [details] patch
Comment on attachment 358210 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=358210&action=review > Source/WebCore/ChangeLog:3 > + IndexedDB: files should be deleted after databases being opened are closed This was also unclear to me. Maybe "When deleting databases, some open databases might be missed" > Source/WebCore/ChangeLog:8 > + We should close all open databases instead of databases from open database connections, because database thread "We should close all databases with an open backing store instead of looking at which ones have an open database connection. This is because a database might be in the process of getting a backing store before its connection has been created"
Created attachment 359085 [details] Patch for landing
Comment on attachment 359085 [details] Patch for landing Clearing flags on attachment: 359085 Committed r239960: <https://trac.webkit.org/changeset/239960>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47269748>