mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49: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
48
tests/wpt/meta/IndexedDB/idbkeyrange.any.js.ini
vendored
48
tests/wpt/meta/IndexedDB/idbkeyrange.any.js.ini
vendored
|
@ -5,64 +5,16 @@
|
|||
expected: ERROR
|
||||
|
||||
[idbkeyrange.any.html]
|
||||
[IDBKeyRange.only() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.only() - throws on invalid keys]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.lowerBound() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.lowerBound() - 'open' parameter has correct default set]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.lowerBound() - throws on invalid keys]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.upperBound() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.upperBound() - 'open' parameter has correct default set]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.upperBound() - throws on invalid keys]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.bound() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.bound() - 'lowerOpen' and 'upperOpen' parameters have correct defaults set]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idbkeyrange.any.worker.html]
|
||||
[IDBKeyRange.only() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.only() - throws on invalid keys]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.lowerBound() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.lowerBound() - 'open' parameter has correct default set]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.lowerBound() - throws on invalid keys]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.upperBound() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.upperBound() - 'open' parameter has correct default set]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.upperBound() - throws on invalid keys]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.bound() - returns an IDBKeyRange and the properties are set correctly]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKeyRange.bound() - 'lowerOpen' and 'upperOpen' parameters have correct defaults set]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue