mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
script: implement IDBKeyRange (#38268)
#37684 provided the backend for this change. The key range interface just wraps a `IndexedDBKeyRange` and exposes the methods from it as per the spec. Spec: https://www.w3.org/TR/IndexedDB-2/#keyrange Testing: WPT tests (some regressions have been exposed, but that's fine) --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
8b2a5fca54
commit
c2ed599eb1
24 changed files with 1281 additions and 196 deletions
102
tests/wpt/meta/IndexedDB/idlharness.any.js.ini
vendored
102
tests/wpt/meta/IndexedDB/idlharness.any.js.ini
vendored
|
@ -2,9 +2,6 @@
|
|||
expected: ERROR
|
||||
|
||||
[idlharness.any.html]
|
||||
[idl_test setup]
|
||||
expected: FAIL
|
||||
|
||||
[IDBFactory interface: operation databases()]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -95,51 +92,6 @@
|
|||
[IDBIndex interface: operation openKeyCursor(optional any, optional IDBCursorDirection)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute lower]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute upper]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute lowerOpen]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute upperOpen]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation only(any)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation lowerBound(any, optional boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation upperBound(any, optional boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation bound(any, any, optional boolean, optional boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation includes(any)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBCursor interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -212,14 +164,14 @@
|
|||
[IDBTransaction interface: attribute durability]
|
||||
expected: FAIL
|
||||
|
||||
[IDBFactory interface: [object IDBFactory\] must inherit property "databases()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idlharness.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[idlharness.any.worker.html]
|
||||
[idl_test setup]
|
||||
expected: FAIL
|
||||
|
||||
[IDBFactory interface: operation databases()]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -310,51 +262,6 @@
|
|||
[IDBIndex interface: operation openKeyCursor(optional any, optional IDBCursorDirection)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute lower]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute upper]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute lowerOpen]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: attribute upperOpen]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation only(any)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation lowerBound(any, optional boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation upperBound(any, optional boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation bound(any, any, optional boolean, optional boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange interface: operation includes(any)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBCursor interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -426,3 +333,6 @@
|
|||
|
||||
[IDBTransaction interface: attribute durability]
|
||||
expected: FAIL
|
||||
|
||||
[IDBFactory interface: [object IDBFactory\] must inherit property "databases()" with the proper type]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue