mirror of
https://github.com/servo/servo.git
synced 2025-09-19 11:20:09 +01:00
indexeddb: Implement getAll and getAllKeys (#38885)
Implement getAll and getAllKeys for IDBObjectStore. Testing: WPT & Unit testing Fixes: Part of #6963. --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
e64c53972a
commit
b5d6555238
9 changed files with 308 additions and 86 deletions
|
@ -12,12 +12,6 @@
|
|||
[Cross-realm IDBObjectStore::clear() method from detached <iframe> works as expected]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-realm IDBObjectStore::getAll() method from detached <iframe> works as expected]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-realm IDBObjectStore::getAllKeys() method from detached <iframe> works as expected]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-realm IDBObjectStore::count() method from detached <iframe> works as expected]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,15 +2,9 @@
|
|||
[IDBObjectStore.get exception order: TransactionInactiveError vs. DataError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAll exception order: InvalidStateError vs. TransactionInactiveError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAll exception order: TransactionInactiveError vs. DataError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAllKeys exception order: InvalidStateError vs. TransactionInactiveError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAllKeys exception order: TransactionInactiveError vs. DataError]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -37,15 +31,9 @@
|
|||
[IDBObjectStore.get exception order: TransactionInactiveError vs. DataError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAll exception order: InvalidStateError vs. TransactionInactiveError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAll exception order: TransactionInactiveError vs. DataError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAllKeys exception order: InvalidStateError vs. TransactionInactiveError]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore.getAllKeys exception order: TransactionInactiveError vs. DataError]
|
||||
expected: FAIL
|
||||
|
||||
|
|
12
tests/wpt/meta/IndexedDB/idlharness.any.js.ini
vendored
12
tests/wpt/meta/IndexedDB/idlharness.any.js.ini
vendored
|
@ -11,12 +11,6 @@
|
|||
[IDBObjectStore interface: attribute indexNames]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation getAll(optional any, optional unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation getAllKeys(optional any, optional unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation openCursor(optional any, optional IDBCursorDirection)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -127,12 +121,6 @@
|
|||
[IDBObjectStore interface: attribute indexNames]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation getAll(optional any, optional unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation getAllKeys(optional any, optional unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation openCursor(optional any, optional IDBCursorDirection)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue