script: correctly handle indexeddb backend errors (#38740)

Sets the indexeddb request error when the backend errors out. This also
matches statements to the spec.

Testing: Covered by WPT
Fixes: General indexeddb

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Ashwin Naren 2025-08-28 00:49:17 -07:00 committed by GitHub
parent 57f25d0a8a
commit 91b27d98a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 49 additions and 24 deletions

View file

@ -1,11 +1,13 @@
[error-attributes.any.worker.html]
expected: TIMEOUT
[IDBRequest and IDBTransaction error properties should be DOMExceptions]
expected: FAIL
expected: TIMEOUT
[error-attributes.any.html]
expected: TIMEOUT
[IDBRequest and IDBTransaction error properties should be DOMExceptions]
expected: FAIL
expected: TIMEOUT
[error-attributes.any.sharedworker.html]