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

Unified Diff: LayoutTests/storage/indexeddb/resources/persistence.js

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include error name Created 6 years, 8 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/persistence.js
diff --git a/LayoutTests/storage/indexeddb/resources/persistence.js b/LayoutTests/storage/indexeddb/resources/persistence.js
index c3f278097355156c743b4fd804d5b0d25cd1f79a..5ccf3a846909c3ff6bd425f1b17b0ff09f4bbbbe 100644
--- a/LayoutTests/storage/indexeddb/resources/persistence.js
+++ b/LayoutTests/storage/indexeddb/resources/persistence.js
@@ -13,6 +13,7 @@ function prepareDatabase()
var trans = request.transaction;
trans.abort();
request.onerror = function() {
+ expectError();
db.close();
first();
};

Powered by Google App Engine
This is Rietveld 408576698