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

Unified Diff: LayoutTests/storage/indexeddb/resources/metadata.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/metadata.js
diff --git a/LayoutTests/storage/indexeddb/resources/metadata.js b/LayoutTests/storage/indexeddb/resources/metadata.js
index af93e0ea2b9558cbf4010c121e247c2d61ef057d..6634ec9f3b2f1e5e977e4a1e5484468ac11fb481 100644
--- a/LayoutTests/storage/indexeddb/resources/metadata.js
+++ b/LayoutTests/storage/indexeddb/resources/metadata.js
@@ -71,10 +71,11 @@ function thirdOpen()
evalAndLog("trans.abort()");
};
request.onerror = function() {
+ expectError();
debug("Connection's properties should be snapshotted on close");
evalAndLog("connection3.close()");
fourthOpen();
- }
+ };
}
function fourthOpen()

Powered by Google App Engine
This is Rietveld 408576698