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

Unified Diff: Source/modules/indexeddb/IDBIndex.idl

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
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBIndex.idl
diff --git a/Source/modules/indexeddb/IDBIndex.idl b/Source/modules/indexeddb/IDBIndex.idl
index ee56c88996c2bb3ddd87e4e390c8ed3ad109de2f..51eb6c42f5cdd5de4c768e72adfc3b5fbd2c0d9d 100644
--- a/Source/modules/indexeddb/IDBIndex.idl
+++ b/Source/modules/indexeddb/IDBIndex.idl
@@ -45,5 +45,9 @@
// Documented at http://w3c.github.io/IndexedDB/#widl-IDBIndex-getAll-IDBRequest-any-query-unsigned-long-count
[CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] IDBRequest getAll([Default=Undefined] optional any range, optional unsigned long maxCount = 0xFFFFFFFF);
[CallWith=ScriptState, RaisesException] IDBRequest getKey(any key);
+ // getAllKeys is not part of the spec., it is an experimental web feature
+ // TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed.
+ // Documented at https://w3c.github.io/IndexedDB/#widl-IDBIndex-getAllKeys-IDBRequest-any-query-unsigned-long-count
+ [CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] IDBRequest getAllKeys([Default=Undefined] optional any range, [EnforceRange] optional unsigned long maxCount = 0xFFFFFFFF);
[CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key);
};
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698