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

Unified Diff: third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-upgrades.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-upgrades.js
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js b/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js
index 21f6a0d4987b88471d9e925bb803f713e970175e..2b2486792b2f7cdb128be53093dedd5dc8641eb1 100644
--- a/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js
+++ b/third_party/WebKit/LayoutTests/storage/indexeddb/resources/intversion-upgrades.js
@@ -102,6 +102,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