mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Implement indexeddb array conversion (#38288)
Implement conversion from js arrays into rust. Testing: WPT Fixes: None --------- 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
8590c4edcf
commit
8a59c2cf56
13 changed files with 98 additions and 203 deletions
72
tests/wpt/meta/IndexedDB/keyorder.any.js.ini
vendored
72
tests/wpt/meta/IndexedDB/keyorder.any.js.ini
vendored
|
@ -5,149 +5,77 @@
|
|||
[Database readback sort - String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - float < String]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - float < String]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - float < Date]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - float < Date]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - float < Date < String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - float < Date < String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Date(1 sec ago) < Date(now) < Date(1 minute in future)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Date(1 sec ago) < Date(now) < Date(1 minute in future)]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - -1.1 < 1 < 1.01337 < 1.013373 < 2]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - -1.1 < 1 < 1.01337 < 1.013373 < 2]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - -Infinity < -0.01 < 0 < Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - -Infinity < -0.01 < 0 < Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - "" < "a" < "ab" < "b" < "ba"]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - "" < "a" < "ab" < "b" < "ba"]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Arrays]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Arrays]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Array.length: 10,000 < Array.length: 10,001]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Array.length: 10,000 < Array.length: 10,001]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Infinity inside arrays]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Infinity inside arrays]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Test different stuff at once]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Test different stuff at once]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[keyorder.any.html]
|
||||
[Database readback sort - String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - float < String]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - float < String]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - float < Date]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - float < Date]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - float < Date < String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - float < Date < String < Array]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Date(1 sec ago) < Date(now) < Date(1 minute in future)]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Date(1 sec ago) < Date(now) < Date(1 minute in future)]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - -1.1 < 1 < 1.01337 < 1.013373 < 2]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - -1.1 < 1 < 1.01337 < 1.013373 < 2]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - -Infinity < -0.01 < 0 < Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - -Infinity < -0.01 < 0 < Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - "" < "a" < "ab" < "b" < "ba"]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - "" < "a" < "ab" < "b" < "ba"]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Arrays]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Arrays]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Array.length: 10,000 < Array.length: 10,001]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Array.length: 10,000 < Array.length: 10,001]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Infinity inside arrays]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Infinity inside arrays]
|
||||
expected: FAIL
|
||||
|
||||
[Database readback sort - Test different stuff at once]
|
||||
expected: FAIL
|
||||
|
||||
[IDBKey.cmp sort - Test different stuff at once]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[keyorder.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue