[Webkit-unassigned] [Bug 88338] New: IndexedDB: should make the LevelDB persistant to the directory indicated in PageGroupSettings::indexedDBDataBasePath

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 5 09:41:19 PDT 2012


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

           Summary: IndexedDB: should make the LevelDB persistant to the
                    directory indicated in
                    PageGroupSettings::indexedDBDataBasePath
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: charles.wei at torchmobile.com.cn
                CC: jorlow at webkit.org


Seems now the LevelDB for IndexedDB is created in memory, 

IDBFactory::open()  
{
   ...
   m_backend->open(name, request.get(), context->securityOrigin(), frame, String());
   ...
}

The last parameter gives an empty string, which will cause the LevelDB creates an in-memory database instead of file-system database.  Shouldn't it be located in Page::GroupSettings::indexedDataBasePath() ? if you do want to create an in-memory database,  you can set Page::GroupSettings::indexedDataBasePath() to empty.

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