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

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: Don't capture full stack unless devtools is visible Created 6 years 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 2f39ac4d4d5717d9b7453cc3149c9a19e0c67f7d..fd51b820a3d6f9421d385db7b8a06482498280fa 100644
--- a/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
+++ b/LayoutTests/storage/indexeddb/resources/intversion-revert-on-abort.js
@@ -55,6 +55,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