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

Unified Diff: LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and linkage fix Created 5 years, 3 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: LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
diff --git a/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js b/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
index 812bbda0fab382e5ac2c97980a5402a7ff85d3a1..a6c0181596dab8ba11287f4bc0416d9943b0c0da 100644
--- a/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
+++ b/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