-
hans@chromium.org authored
Reviewed by Tony Chang. IndexedDB: Prepare for running layout tests with LevelDB https://bugs.webkit.org/show_bug.cgi?id=63593 Migration of data from SQLite to LevelDB must be done before the m_backingStore map is checked for an open LevelDB, because if a previous layout test has used LevelDB, it will be in the m_backingStore map. Covered by existing layout tests. * storage/IDBFactoryBackendImpl.cpp: (WebCore::IDBFactoryBackendImpl::open): 2011-06-28 Hans Wennborg <hans@chromium.org> Reviewed by Tony Chang. IndexedDB: Prepare for running layout tests with LevelDB https://bugs.webkit.org/show_bug.cgi?id=63593 WebIDBFactory should decide what DefaultBackingStore means. Also fix handling of layout test and incognito mode properly. * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::open): 2011-06-28 Hans Wennborg <hans@chromium.org> Reviewed by Tony Chang. IndexedDB: Prepare for running layout tests with LevelDB https://bugs.webkit.org/show_bug.cgi?id=63593 The TestShell must always provide a temporary folder for LevelDB, not just when the backing store type is overridden. * DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::setOverrideIndexedDBBackingStore): (LayoutTestController::clearAllDatabases): * DumpRenderTree/chromium/LayoutTestController.h: * DumpRenderTree/chromium/TestShell.cpp: (TestShell::TestShell): * DumpRenderTree/chromium/TestShell.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8b54bfa0