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:
Ashwin Naren 2025-09-19 23:33:16 -07:00 committed by GitHub
parent 8590c4edcf
commit 8a59c2cf56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 98 additions and 203 deletions

View file

@ -2,54 +2,12 @@
expected: ERROR
[key-conversion-exceptions.any.worker.html]
[IDBFactory cmp() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange only() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange lowerBound() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange upperBound() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange bound() static with throwing/invalid keys]
expected: FAIL
[IDBCursor continue() method with throwing/invalid keys]
expected: FAIL
[IndexedDB: Exceptions thrown during key conversion]
expected: FAIL
[IDBCursor update() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore add() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore put() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore delete() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore get() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore getKey() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore count() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore openCursor() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore openKeyCursor() method with throwing/invalid keys]
expected: FAIL
[IDBIndex get() method with throwing/invalid keys]
expected: FAIL
@ -65,12 +23,6 @@
[IDBIndex openKeyCursor() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore getAll() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore getAllKeys() method with throwing/invalid keys]
expected: FAIL
[IDBIndex getAll() method with throwing/invalid keys]
expected: FAIL
@ -82,54 +34,12 @@
[key-conversion-exceptions.any.html]
[IDBFactory cmp() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange only() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange lowerBound() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange upperBound() static with throwing/invalid keys]
expected: FAIL
[IDBKeyRange bound() static with throwing/invalid keys]
expected: FAIL
[IDBCursor continue() method with throwing/invalid keys]
expected: FAIL
[IndexedDB: Exceptions thrown during key conversion]
expected: FAIL
[IDBCursor update() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore add() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore put() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore delete() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore get() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore getKey() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore count() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore openCursor() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore openKeyCursor() method with throwing/invalid keys]
expected: FAIL
[IDBIndex get() method with throwing/invalid keys]
expected: FAIL
@ -145,12 +55,6 @@
[IDBIndex openKeyCursor() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore getAll() method with throwing/invalid keys]
expected: FAIL
[IDBObjectStore getAllKeys() method with throwing/invalid keys]
expected: FAIL
[IDBIndex getAll() method with throwing/invalid keys]
expected: FAIL