DescriptionMerge 144323
> IndexedDB: IO error when checking schema should destroy LevelDB directory
> https://bugs.webkit.org/show_bug.cgi?id=110675
>
> Reviewed by Adam Barth.
>
> Source/WebCore:
>
> Also some refactoring to remove IDBBackingStore's dependence on
> static LevelDBDatabase methods. This facilitated the unit test.
>
> New unit test - IDBIOErrorTest.CleanUpTest
>
> * Modules/indexeddb/IDBBackingStore.cpp:
> (DefaultLevelDBFactory):
> Wraps the previous behavior.
> (WebCore::IDBBackingStore::open):
> The default parameter provides the previous behavior, which is what
> non-tests want.
> * Modules/indexeddb/IDBBackingStore.h:
> * platform/leveldb/LevelDBDatabase.h:
>
> Source/WebKit/chromium:
>
> * WebKit.gyp:
> This was cargo-culted. The component build wouldn't run otherwise.
>
> * WebKit.gypi:
> * tests/IDBCleanupOnIOErrorTest.cpp: Added.
>
TBR=dgrogan@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=144947
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|