[Webkit-unassigned] [Bug 135347] New: When deleting an IndexedDatabase file, also invalidate any currently open handles to that database

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 28 12:58:13 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=135347

           Summary: When deleting an IndexedDatabase file, also invalidate
                    any currently open handles to that database
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com


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)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list