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

Unified Diff: third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-revert-on-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/intversion-revert-on-abort.js
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js b/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
index 812bbda0fab382e5ac2c97980a5402a7ff85d3a1..a6c0181596dab8ba11287f4bc0416d9943b0c0da 100644
--- a/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
+++ b/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
@@ -54,6 +54,8 @@ function errorAfterAbortCallback(evt)
{
preamble(evt);
shouldBe("db.version", "2");
+ evt.preventDefault();
+
evalAndLog("request = indexedDB.open(dbname)");
evalAndLog("request.onsuccess = finalSuccessCallback");
request.onerror = unexpectedErrorCallback;

Powered by Google App Engine
This is Rietveld 408576698