Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/WebKit/LayoutTests/storage/indexeddb/resources/request-continue-abort.js

Issue 1362953003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/storage/indexeddb/resources/request-continue-abort.js
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/resources/request-continue-abort.js b/third_party/WebKit/LayoutTests/storage/indexeddb/resources/request-continue-abort.js
index ca32dd2ba537c7c9923965918e3320d5b0fdbec2..f915f8ff7bc2521a05d8fae89b21375fcb75218a 100644
--- a/third_party/WebKit/LayoutTests/storage/indexeddb/resources/request-continue-abort.js
+++ b/third_party/WebKit/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");

Powered by Google App Engine
This is Rietveld 408576698