DescriptionChange instances of s.IsCorruption() to leveldb_env::IsCorruption(s).
LevelDB sometimes returns Status::InvalidArgument() when it encounters
corruption. But LevelDB doesn't provide a Status::IsInvalidArgument()
accessor so we need to indirectly detect it.
This patch revealed that IndexedDBDatabaseOperationTest.CreatePutDelete
had been passing by accident. In order to make it continue to pass, this
patch adds a method to IndexedDBFakeBackingStore.
BUG=322707
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273757
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274066
Patch Set 1 #Patch Set 2 : fix memory leak #
Messages
Total messages: 14 (0 generated)
|