servo/tests/wpt/meta/IndexedDB/idbobjectstore_getKey.any.js.ini
Kingsley Yung 250c4cda00
indexeddb: Implement openCursor and openKeyCursor for object store (#39080)
Continue on implementing indexeddb's cursor.

This patch focuses on implementing the `openCursor` [1] and
`openKeyCursor` [2] methods of the `IDBObjectStore` interface, which
create and initialize cursors by running the iterate-a-cursor algorithm
[3].

It also adds struct `IndexedDBRecord` to
`components/shared/net/indexeddb_thread.rs`. This struct can later be
used to implement the new `IDBRecord` interface [4].

[1] https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-opencursor
[2] https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-openkeycursor
[3] https://www.w3.org/TR/IndexedDB-2/#iterate-a-cursor
[4] https://w3c.github.io/IndexedDB/#record-interface

Testing: Pass WPT tests that were expected to fail.
Fixes: Part of #38111

---------

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
2025-09-12 16:54:07 +00:00

106 lines
2.7 KiB
INI
Vendored

[idbobjectstore_getKey.any.worker.html]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - key - no match]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - key path - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - key path - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - key path - key - no match]
expected: TIMEOUT
[IDBObjectStore.getKey() - key path - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator - key - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator and key path - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator and key path - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator and key path - key - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator and key path - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - invalid parameters]
expected: FAIL
[idbobjectstore_getKey.any.html]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - key - no match]
expected: TIMEOUT
[IDBObjectStore.getKey() - basic - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - key path - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - key path - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - key path - key - no match]
expected: TIMEOUT
[IDBObjectStore.getKey() - key path - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator - key - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator and key path - key]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator and key path - range]
expected: TIMEOUT
[IDBObjectStore.getKey() - key generator and key path - key - no match]
expected: FAIL
[IDBObjectStore.getKey() - key generator and key path - range - no match]
expected: FAIL
[IDBObjectStore.getKey() - invalid parameters]
expected: FAIL