mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 17:13:02 +00:00
Bug 1196841: Update getAll/getAllKeys to match the spec and expose them. r=baku
This commit is contained in:
parent
5fb333826f
commit
c80ad19b99
@ -56,16 +56,14 @@ interface IDBIndex {
|
||||
|
||||
partial interface IDBIndex {
|
||||
[Throws]
|
||||
IDBRequest mozGetAll (optional any key, optional unsigned long limit);
|
||||
IDBRequest mozGetAll (optional any key, [EnforceRange] optional unsigned long limit);
|
||||
|
||||
[Throws]
|
||||
IDBRequest mozGetAllKeys (optional any key, optional unsigned long limit);
|
||||
IDBRequest mozGetAllKeys (optional any key, [EnforceRange] optional unsigned long limit);
|
||||
|
||||
[Throws,
|
||||
Func="mozilla::dom::indexedDB::IndexedDatabaseManager::ExperimentalFeaturesEnabled"]
|
||||
IDBRequest getAll (optional any key, optional unsigned long limit);
|
||||
[Throws]
|
||||
IDBRequest getAll (optional any key, [EnforceRange] optional unsigned long limit);
|
||||
|
||||
[Throws,
|
||||
Func="mozilla::dom::indexedDB::IndexedDatabaseManager::ExperimentalFeaturesEnabled"]
|
||||
IDBRequest getAllKeys (optional any key, optional unsigned long limit);
|
||||
[Throws]
|
||||
IDBRequest getAllKeys (optional any key, [EnforceRange] optional unsigned long limit);
|
||||
};
|
||||
|
@ -63,17 +63,14 @@ interface IDBObjectStore {
|
||||
partial interface IDBObjectStore {
|
||||
// Success fires IDBTransactionEvent, result == array of values for given keys
|
||||
[Throws]
|
||||
IDBRequest mozGetAll (optional any key, optional unsigned long limit);
|
||||
IDBRequest mozGetAll (optional any key, [EnforceRange] optional unsigned long limit);
|
||||
|
||||
[Throws,
|
||||
Func="mozilla::dom::indexedDB::IndexedDatabaseManager::ExperimentalFeaturesEnabled"]
|
||||
IDBRequest getAll (optional any key, optional unsigned long limit);
|
||||
[Throws]
|
||||
IDBRequest getAll (optional any key, [EnforceRange] optional unsigned long limit);
|
||||
|
||||
[Throws,
|
||||
Func="mozilla::dom::indexedDB::IndexedDatabaseManager::ExperimentalFeaturesEnabled"]
|
||||
IDBRequest getAllKeys (optional any key, optional unsigned long limit);
|
||||
[Throws]
|
||||
IDBRequest getAllKeys (optional any key, [EnforceRange] optional unsigned long limit);
|
||||
|
||||
[Throws,
|
||||
Func="mozilla::dom::indexedDB::IndexedDatabaseManager::ExperimentalFeaturesEnabled"]
|
||||
[Throws]
|
||||
IDBRequest openKeyCursor (optional any range, optional IDBCursorDirection direction = "next");
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user