IndexedDB: Handle missing object stores in object store operations (#38115)

These changes fix a large number of panics that can manifest as
intermittent test failures. They also add more specification text to
various IDBObjectStore methods and implement missing steps that check
for whether an object store is deleted.

Testing: Existing test coverage.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-08-22 18:04:34 -04:00 committed by GitHub
parent f334a56b07
commit b7cdd88b8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 96 additions and 92 deletions

View file

@ -2,9 +2,6 @@
expected: ERROR
[idbobjectstore-delete-exception-order.any.html]
[IDBObjectStore.delete exception order: InvalidStateError vs. TransactionInactiveError]
expected: FAIL
[IDBObjectStore.delete exception order: TransactionInactiveError vs. ReadOnlyError]
expected: FAIL
@ -13,8 +10,5 @@
expected: ERROR
[idbobjectstore-delete-exception-order.any.worker.html]
[IDBObjectStore.delete exception order: InvalidStateError vs. TransactionInactiveError]
expected: FAIL
[IDBObjectStore.delete exception order: TransactionInactiveError vs. ReadOnlyError]
expected: FAIL