diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html b/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html index a08f071..f9b1e78 100644 --- a/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html +++ b/LayoutTests/storage/indexeddb/objectstore-removeobjectstore.html @@ -105,14 +105,14 @@ function getValueAgain() result = evalAndLog("store.get('key')"); verifyResult(result); - result.onsuccess = unexpectedSuccessCallback; - result.onerror = verifyError; + result.onsuccess = verifyNotFound; + result.onerror = unexpectedErrorCallback; } -function verifyError() +function verifyNotFound() { - verifyErrorEvent(event); - shouldBe("event.code", "webkitIDBDatabaseException.NOT_FOUND_ERR"); + verifySuccessEvent(event); + shouldBe("event.result", "undefined"); shouldBeFalse("event.source.indexNames.contains('indexName')"); done(); |