mirror of
https://github.com/servo/servo.git
synced 2025-09-14 17:08:22 +01:00
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>
9 lines
197 B
INI
Vendored
9 lines
197 B
INI
Vendored
[idbcursor-direction.any.worker.html]
|
|
|
|
[idbcursor-direction.any.serviceworker.html]
|
|
expected: ERROR
|
|
|
|
[idbcursor-direction.any.html]
|
|
|
|
[idbcursor-direction.any.sharedworker.html]
|
|
expected: ERROR
|