Bug 135347

Summary: When deleting an IndexedDatabase file, also invalidate any currently open handles to that database
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, ddkilzer, jeffrey+webkit, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Brady Eidson
Reported 2014-07-28 12:58:26 PDT
When deleting an IndexedDatabase file, also invalidate any currently open handles to that database In https://bugs.webkit.org/show_bug.cgi?id=135346 we're making the WKOriginDataManager API actually delete IndexedDatabase files. But any web page that happens to have an open handle to those files will: - For read-only operations, they will continue functioning as normal on the unlinked file. - For write operations, they will start producing errors as SQLite notices the missing backing store. The handles should be explicitly invalidated with errors sent back to the WebProcess(es)
Attachments
Radar WebKit Bug Importer
Comment 1 2014-07-29 09:34:11 PDT
Brent Fulgham
Comment 2 2022-02-12 18:47:26 PST
Resolved by Modern IDB implementation.
Note You need to log in before you can comment on or make changes to this bug.