servo/tests/wpt/meta/IndexedDB/idlharness.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

194 lines
5.3 KiB
INI
Vendored

[idlharness.any.sharedworker.html]
expected: ERROR
[idlharness.any.html]
[IDBFactory interface: operation databases()]
expected: FAIL
[IDBObjectStore interface: operation index(DOMString)]
expected: FAIL
[IDBObjectStore interface: operation createIndex(DOMString, (DOMString or sequence<DOMString>), optional IDBIndexParameters)]
expected: FAIL
[IDBObjectStore interface: operation deleteIndex(DOMString)]
expected: FAIL
[IDBIndex interface: attribute name]
expected: FAIL
[IDBIndex interface: attribute keyPath]
expected: FAIL
[IDBIndex interface: operation get(any)]
expected: FAIL
[IDBIndex interface: operation getKey(any)]
expected: FAIL
[IDBIndex interface: operation getAll(optional any, optional unsigned long)]
expected: FAIL
[IDBIndex interface: operation getAllKeys(optional any, optional unsigned long)]
expected: FAIL
[IDBIndex interface: operation count(optional any)]
expected: FAIL
[IDBIndex interface: operation openCursor(optional any, optional IDBCursorDirection)]
expected: FAIL
[IDBIndex interface: operation openKeyCursor(optional any, optional IDBCursorDirection)]
expected: FAIL
[IDBCursor interface: operation advance(unsigned long)]
expected: FAIL
[IDBCursor interface: operation continue(optional any)]
expected: FAIL
[IDBCursor interface: operation continuePrimaryKey(any, any)]
expected: FAIL
[IDBCursor interface: operation update(any)]
expected: FAIL
[IDBCursor interface: operation delete()]
expected: FAIL
[IDBTransaction interface: attribute durability]
expected: FAIL
[IDBFactory interface: [object IDBFactory\] must inherit property "databases()" with the proper type]
expected: FAIL
[IDBObjectStore interface: operation getAllRecords(optional IDBGetAllOptions)]
expected: FAIL
[IDBIndex interface: operation getAllRecords(optional IDBGetAllOptions)]
expected: FAIL
[IDBRecord interface: existence and properties of interface object]
expected: FAIL
[IDBRecord interface object length]
expected: FAIL
[IDBRecord interface object name]
expected: FAIL
[IDBRecord interface: existence and properties of interface prototype object]
expected: FAIL
[IDBRecord interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[IDBRecord interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[IDBRecord interface: attribute key]
expected: FAIL
[IDBRecord interface: attribute primaryKey]
expected: FAIL
[IDBRecord interface: attribute value]
expected: FAIL
[idlharness.any.serviceworker.html]
expected: ERROR
[idlharness.any.worker.html]
[IDBFactory interface: operation databases()]
expected: FAIL
[IDBObjectStore interface: operation index(DOMString)]
expected: FAIL
[IDBObjectStore interface: operation createIndex(DOMString, (DOMString or sequence<DOMString>), optional IDBIndexParameters)]
expected: FAIL
[IDBObjectStore interface: operation deleteIndex(DOMString)]
expected: FAIL
[IDBIndex interface: attribute name]
expected: FAIL
[IDBIndex interface: attribute keyPath]
expected: FAIL
[IDBIndex interface: operation get(any)]
expected: FAIL
[IDBIndex interface: operation getKey(any)]
expected: FAIL
[IDBIndex interface: operation getAll(optional any, optional unsigned long)]
expected: FAIL
[IDBIndex interface: operation getAllKeys(optional any, optional unsigned long)]
expected: FAIL
[IDBIndex interface: operation count(optional any)]
expected: FAIL
[IDBIndex interface: operation openCursor(optional any, optional IDBCursorDirection)]
expected: FAIL
[IDBIndex interface: operation openKeyCursor(optional any, optional IDBCursorDirection)]
expected: FAIL
[IDBCursor interface: operation advance(unsigned long)]
expected: FAIL
[IDBCursor interface: operation continue(optional any)]
expected: FAIL
[IDBCursor interface: operation continuePrimaryKey(any, any)]
expected: FAIL
[IDBCursor interface: operation update(any)]
expected: FAIL
[IDBCursor interface: operation delete()]
expected: FAIL
[IDBTransaction interface: attribute durability]
expected: FAIL
[IDBFactory interface: [object IDBFactory\] must inherit property "databases()" with the proper type]
expected: FAIL
[IDBObjectStore interface: operation getAllRecords(optional IDBGetAllOptions)]
expected: FAIL
[IDBIndex interface: operation getAllRecords(optional IDBGetAllOptions)]
expected: FAIL
[IDBRecord interface: existence and properties of interface object]
expected: FAIL
[IDBRecord interface object length]
expected: FAIL
[IDBRecord interface object name]
expected: FAIL
[IDBRecord interface: existence and properties of interface prototype object]
expected: FAIL
[IDBRecord interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[IDBRecord interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[IDBRecord interface: attribute key]
expected: FAIL
[IDBRecord interface: attribute primaryKey]
expected: FAIL
[IDBRecord interface: attribute value]
expected: FAIL