indexeddb: Initialize DB version to zero. (#38819)

None of our automated tests were executing the initial DB setup code
because the requested version always matched.

Testing: Existing WPT coverage.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-08-21 18:49:57 -04:00 committed by GitHub
parent bce9f06cf8
commit 18230e9630
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 303 additions and 212 deletions

View file

@ -5,78 +5,76 @@
expected: ERROR
[idbindex-query-exception-order.any.html]
expected: TIMEOUT
[IDBIndex.get exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.get exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.getAll exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.getAll exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.getAllKeys exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.getAllKeys exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.count exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.count exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.openCursor exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.openCursor exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.openKeyCursor exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.openKeyCursor exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[idbindex-query-exception-order.any.worker.html]
expected: TIMEOUT
[IDBIndex.get exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.get exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.getAll exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.getAll exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.getAllKeys exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.getAllKeys exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.count exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.count exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.openCursor exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.openCursor exception order: TransactionInactiveError vs. DataError]
expected: FAIL
[IDBIndex.openKeyCursor exception order: InvalidStateError vs. TransactionInactiveError]
expected: TIMEOUT
expected: FAIL
[IDBIndex.openKeyCursor exception order: TransactionInactiveError vs. DataError]
expected: FAIL