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

Unified Diff: LayoutTests/storage/indexeddb/resources/index-multientry.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/index-multientry.js
diff --git a/LayoutTests/storage/indexeddb/resources/index-multientry.js b/LayoutTests/storage/indexeddb/resources/index-multientry.js
index 71b96a8e68c61192ad73d6b971f31dbfabb64d13..4a4e15e881561611d19b0f52669041d1e15d66b0 100644
--- a/LayoutTests/storage/indexeddb/resources/index-multientry.js
+++ b/LayoutTests/storage/indexeddb/resources/index-multientry.js
@@ -100,6 +100,7 @@ function verifyUniqueConstraint()
request = evalAndLog("transaction.objectStore('store-unique').put({x: [5, 2], y: 'c'}, 'should fail')");
request.onsuccess = unexpectedSuccessCallback;
request.onerror = function() { debug("Request failed, as expected (" + request.error.name + ")"); };
+ expectError();
};
};
}

Powered by Google App Engine
This is Rietveld 408576698