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

Unified Diff: LayoutTests/storage/indexeddb/exceptions-expected.txt

Issue 1157173002: IndexedDB: IDL and tests for IDBIndex.getAllKeys. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@idb-index-getallkeys
Patch Set: Rewound stable/virtual expected and made getAllKeys experimental Created 5 years, 7 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/exceptions-expected.txt
diff --git a/LayoutTests/storage/indexeddb/exceptions-expected.txt b/LayoutTests/storage/indexeddb/exceptions-expected.txt
index 9917f25cf16f85fe0f48f5fdf9c80daab1faaa32..d44b128f2c9fff4aa2d6aca0e0a6fea2df5ea3a4 100644
--- a/LayoutTests/storage/indexeddb/exceptions-expected.txt
+++ b/LayoutTests/storage/indexeddb/exceptions-expected.txt
@@ -425,6 +425,20 @@ PASS code is 0
PASS ename is 'TransactionInactiveError'
Exception message: Failed to execute 'getKey' on 'IDBIndex': The transaction has finished.
+IDBIndex.getAllKeys()
+If the key parameter is not a valid key or a key range, this method throws a DOMException of type DataError.
+Expecting exception from index.getAllKeys({})
+PASS Exception was thrown.
+PASS code is 0
+PASS ename is 'DataError'
+Exception message: Failed to execute 'getAllKeys' on 'IDBIndex': The parameter is not a valid key.
+The transaction this IDBIndex belongs to is not active.
+Expecting exception from indexFromInactiveTransaction.getAllKeys(0)
+PASS Exception was thrown.
+PASS code is 0
+PASS ename is 'TransactionInactiveError'
+Exception message: Failed to execute 'getAllKeys' on 'IDBIndex': The transaction has finished.
+
IDBIndex.openCursor()
If the range parameter is specified but is not a valid key or a key range, this method throws a DOMException of type DataError.
Expecting exception from index.openCursor({})
« no previous file with comments | « LayoutTests/storage/indexeddb/deleted-objects-expected.txt ('k') | LayoutTests/storage/indexeddb/index-getallkeys.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698