summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/index-basics.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/indexeddb/index-basics.html')
-rw-r--r--LayoutTests/storage/indexeddb/index-basics.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/LayoutTests/storage/indexeddb/index-basics.html b/LayoutTests/storage/indexeddb/index-basics.html
index d5eec0a..863566a 100644
--- a/LayoutTests/storage/indexeddb/index-basics.html
+++ b/LayoutTests/storage/indexeddb/index-basics.html
@@ -144,6 +144,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;
@@ -155,6 +157,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;