mirror of
https://github.com/servo/servo.git
synced 2025-09-16 18:08:23 +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>
129 lines
2.2 KiB
INI
Vendored
129 lines
2.2 KiB
INI
Vendored
[idbobjectstore_getAllKeys-options.tentative.any.worker.html]
|
|
[Single item get]
|
|
expected: FAIL
|
|
|
|
[Single item get (generated key)]
|
|
expected: FAIL
|
|
|
|
[Test maxCount]
|
|
expected: FAIL
|
|
|
|
[Get bound range]
|
|
expected: FAIL
|
|
|
|
[Get bound range with maxCount]
|
|
expected: FAIL
|
|
|
|
[Get upper excluded]
|
|
expected: FAIL
|
|
|
|
[Get lower excluded]
|
|
expected: FAIL
|
|
|
|
[Get bound range (generated) with maxCount]
|
|
expected: FAIL
|
|
|
|
[Non existent key]
|
|
expected: FAIL
|
|
|
|
[zero maxCount]
|
|
expected: FAIL
|
|
|
|
[Max value count]
|
|
expected: FAIL
|
|
|
|
[Query with empty range where first key < upperBound]
|
|
expected: FAIL
|
|
|
|
[Query with empty range where lowerBound < last key]
|
|
expected: FAIL
|
|
|
|
[Direction: next]
|
|
expected: FAIL
|
|
|
|
[Direction: prev]
|
|
expected: FAIL
|
|
|
|
[Direction: nextunique]
|
|
expected: FAIL
|
|
|
|
[Direction: prevunique]
|
|
expected: FAIL
|
|
|
|
[Direction and query]
|
|
expected: FAIL
|
|
|
|
[Direction, query and count]
|
|
expected: FAIL
|
|
|
|
[Get all keys with both options and count]
|
|
expected: FAIL
|
|
|
|
|
|
[idbobjectstore_getAllKeys-options.tentative.any.serviceworker.html]
|
|
expected: ERROR
|
|
|
|
[idbobjectstore_getAllKeys-options.tentative.any.html]
|
|
[Single item get]
|
|
expected: FAIL
|
|
|
|
[Single item get (generated key)]
|
|
expected: FAIL
|
|
|
|
[Test maxCount]
|
|
expected: FAIL
|
|
|
|
[Get bound range]
|
|
expected: FAIL
|
|
|
|
[Get bound range with maxCount]
|
|
expected: FAIL
|
|
|
|
[Get upper excluded]
|
|
expected: FAIL
|
|
|
|
[Get lower excluded]
|
|
expected: FAIL
|
|
|
|
[Get bound range (generated) with maxCount]
|
|
expected: FAIL
|
|
|
|
[Non existent key]
|
|
expected: FAIL
|
|
|
|
[zero maxCount]
|
|
expected: FAIL
|
|
|
|
[Max value count]
|
|
expected: FAIL
|
|
|
|
[Query with empty range where first key < upperBound]
|
|
expected: FAIL
|
|
|
|
[Query with empty range where lowerBound < last key]
|
|
expected: FAIL
|
|
|
|
[Direction: next]
|
|
expected: FAIL
|
|
|
|
[Direction: prev]
|
|
expected: FAIL
|
|
|
|
[Direction: nextunique]
|
|
expected: FAIL
|
|
|
|
[Direction: prevunique]
|
|
expected: FAIL
|
|
|
|
[Direction and query]
|
|
expected: FAIL
|
|
|
|
[Direction, query and count]
|
|
expected: FAIL
|
|
|
|
[Get all keys with both options and count]
|
|
expected: FAIL
|
|
|
|
|
|
[idbobjectstore_getAllKeys-options.tentative.any.sharedworker.html]
|
|
expected: ERROR
|