diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/duplicates.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/duplicates.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/LayoutTests/storage/indexeddb/duplicates.html b/LayoutTests/storage/indexeddb/duplicates.html index 352367f..cdfdcaa 100644 --- a/LayoutTests/storage/indexeddb/duplicates.html +++ b/LayoutTests/storage/indexeddb/duplicates.html @@ -111,6 +111,8 @@ function getObjectDataFail() verifyErrorEvent(event); shouldBe("event.code", "webkitIDBDatabaseException.NOT_FOUND_ERR"); + evalAndLog("event.preventDefault()"); + result = evalAndLog("indexObject.get('does not exist')"); verifyResult(result); result.onsuccess = unexpectedSuccessCallback; @@ -122,6 +124,8 @@ function openKeyCursor() verifyErrorEvent(event); shouldBe("event.code", "webkitIDBDatabaseException.NOT_FOUND_ERR"); + evalAndLog("event.preventDefault()"); + window.result = evalAndLog("indexObject.openKeyCursor()"); verifyResult(result); result.onsuccess = cursor1Continue; |