Index: LayoutTests/storage/indexeddb/resources/request-continue-abort.js |
diff --git a/LayoutTests/storage/indexeddb/resources/request-continue-abort.js b/LayoutTests/storage/indexeddb/resources/request-continue-abort.js |
index ca32dd2ba537c7c9923965918e3320d5b0fdbec2..f915f8ff7bc2521a05d8fae89b21375fcb75218a 100644 |
--- a/LayoutTests/storage/indexeddb/resources/request-continue-abort.js |
+++ b/LayoutTests/storage/indexeddb/resources/request-continue-abort.js |
@@ -36,7 +36,8 @@ function testCursor() |
evalAndLog("request.result.continue()"); |
transaction.abort(); |
}; |
- request.onerror = function() { |
+ request.onerror = function(evt) { |
+ evt.preventDefault(); |
debug(""); |
debug("'error' event fired at request."); |
shouldBe("++state", "2"); |