mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
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:
parent
f334a56b07
commit
b7cdd88b8e
11 changed files with 96 additions and 92 deletions
|
@ -5,9 +5,6 @@
|
|||
[Returns the number of records that have keys with the key]
|
||||
expected: FAIL
|
||||
|
||||
[If the object store has been deleted, the implementation must throw a DOMException of type InvalidStateError ]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idbobjectstore_count.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
@ -19,9 +16,6 @@
|
|||
[Returns the number of records that have keys with the key]
|
||||
expected: FAIL
|
||||
|
||||
[If the object store has been deleted, the implementation must throw a DOMException of type InvalidStateError ]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idbobjectstore_count.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue