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

Unified Diff: LayoutTests/storage/indexeddb/resources/intversion-upgrades.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-upgrades.js
diff --git a/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js b/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js
index 82073a80f52fb64cdfd462cc555c8e04bd2af09e..61ab5cf729101a124fc569fb1fbe6c0ffa76e3cf 100644
--- a/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js
+++ b/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js
@@ -103,6 +103,8 @@ function errorWhenTryingLowVersion(evt)
{
preamble(evt);
debug("request.error.message = " + request.error.message);
+ evt.preventDefault();
+
evalAndLog("request = indexedDB.open(dbname, 4)");
request.onblocked = unexpectedBlockedCallback;
request.onerror = unexpectedErrorCallback;

Powered by Google App Engine
This is Rietveld 408576698