[Webkit-unassigned] [Bug 123347] New: Refactor how IDB databases get their unique disk locations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 25 10:58:09 PDT 2013


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

           Summary: Refactor how IDB databases get their unique disk
                    locations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com


Refactor how IDB databases get their disk locations

Contrary to a comment and unused static variable, IDBFactoryBackends are not global singletons.  They have a 1:1 relationship with IDBFactory.

And it doesn't make sense to have one factory support databases in different locations on disk.

So this patch moves the directory argument from IDBDatabaseBackend to IDBFactoryBackend.

It also adds the top-level security origin as an argument into database opening, as that should further differentiate the uniqueness of a database in the future.

-- 
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