tests: Turn on IndexedDB tests and update results (#38722)

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
Ashwin Naren 2025-08-17 01:32:29 -07:00 committed by GitHub
parent fbf0eb11a2
commit 7621332824
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 120 additions and 34 deletions

View file

@ -185,7 +185,7 @@ skip: true
[import-maps]
skip: false
[IndexedDB]
skip: true
skip: false
[intersection-observer]
skip: false
[js]

View file

@ -0,0 +1,17 @@
[blob-valid-after-abort.any.sharedworker.html]
expected: ERROR
[blob-valid-after-abort.any.worker.html]
expected: TIMEOUT
[A blob can be read back after the transaction that added it was aborted.]
expected: TIMEOUT
[blob-valid-after-abort.any.html]
expected: TIMEOUT
[A blob can be read back after the transaction that added it was aborted.]
expected: TIMEOUT
[blob-valid-after-abort.any.serviceworker.html]
expected: ERROR

View file

@ -0,0 +1,17 @@
[create-index.any.html]
expected: TIMEOUT
[Assure no crash when populating index]
expected: TIMEOUT
[create-index.any.worker.html]
expected: TIMEOUT
[Assure no crash when populating index]
expected: TIMEOUT
[create-index.any.serviceworker.html]
expected: ERROR
[create-index.any.sharedworker.html]
expected: ERROR

View file

@ -5,9 +5,6 @@
[Both with empty name]
expected: FAIL
[Create 1000 object stores, add one item and delete]
expected: FAIL
[Object store 'name' and 'keyPath' properties are correctly set ]
expected: FAIL
@ -25,9 +22,6 @@
[Both with empty name]
expected: FAIL
[Create 1000 object stores, add one item and delete]
expected: FAIL
[Object store 'name' and 'keyPath' properties are correctly set ]
expected: FAIL

View file

@ -4,16 +4,16 @@
expected: TIMEOUT
[Cross-realm IDBObjectStore::add() method from detached <iframe> works as expected]
expected: FAIL
expected: TIMEOUT
[Cross-realm IDBObjectStore::delete() method from detached <iframe> works as expected]
expected: FAIL
expected: TIMEOUT
[Cross-realm IDBObjectStore::clear() method from detached <iframe> works as expected]
expected: FAIL
expected: TIMEOUT
[Cross-realm IDBObjectStore::getKey() method from detached <iframe> works as expected]
expected: FAIL
expected: TIMEOUT
[Cross-realm IDBObjectStore::getAll() method from detached <iframe> works as expected]
expected: FAIL
@ -31,4 +31,4 @@
expected: FAIL
[Cross-realm IDBObjectStore::get() method from detached <iframe> works as expected]
expected: FAIL
expected: TIMEOUT

View file

@ -1,9 +1,10 @@
[idbobjectstore_count.any.worker.html]
expected: TIMEOUT
[Returns the number of records in the object store ]
expected: FAIL
[Returns the number of records that have keys within the range ]
expected: FAIL
expected: TIMEOUT
[Returns the number of records that have keys with the key]
expected: FAIL
@ -16,11 +17,12 @@
expected: ERROR
[idbobjectstore_count.any.html]
expected: TIMEOUT
[Returns the number of records in the object store ]
expected: FAIL
[Returns the number of records that have keys within the range ]
expected: FAIL
expected: TIMEOUT
[Returns the number of records that have keys with the key]
expected: FAIL

View file

@ -15,6 +15,9 @@
[If the object store has been deleted, the implementation must throw a DOMException of type InvalidStateError]
expected: FAIL
[delete() key doesn't match any records]
expected: FAIL
[idbobjectstore_delete.any.serviceworker.html]
expected: ERROR
@ -36,6 +39,9 @@
[If the object store has been deleted, the implementation must throw a DOMException of type InvalidStateError]
expected: FAIL
[delete() key doesn't match any records]
expected: FAIL
[idbobjectstore_delete.any.sharedworker.html]
expected: ERROR

View file

@ -2,19 +2,23 @@
expected: ERROR
[idbobjectstore_get.any.html]
expected: TIMEOUT
[Returns the record with the first key in the range]
expected: FAIL
expected: TIMEOUT
[When a transaction is aborted, throw TransactionInactiveError]
expected: FAIL
[Key is a number]
expected: FAIL
expected: TIMEOUT
[Key is a string]
expected: FAIL
expected: TIMEOUT
[Key is a date]
expected: TIMEOUT
[Attempts to retrieve a record that doesn't exist]
expected: FAIL
@ -22,17 +26,21 @@
expected: ERROR
[idbobjectstore_get.any.worker.html]
expected: TIMEOUT
[Returns the record with the first key in the range]
expected: FAIL
expected: TIMEOUT
[When a transaction is aborted, throw TransactionInactiveError]
expected: FAIL
[Key is a number]
expected: FAIL
expected: TIMEOUT
[Key is a string]
expected: FAIL
expected: TIMEOUT
[Key is a date]
expected: TIMEOUT
[Attempts to retrieve a record that doesn't exist]
expected: FAIL

View file

@ -205,6 +205,9 @@
[SyntaxError: SyntaxError: ghi]
expected: FAIL
[Float16Array: -Infinity,-1.5,-1,-0.5,0,0.5,1,1.5,Infinity,NaN]
expected: FAIL
[structured-clone.any.html?101-last]
[TypeError: TypeError]
@ -279,6 +282,9 @@
[Not serializable: MessageChannel: [object MessageChannel\]]
expected: FAIL
[SyntaxError: SyntaxError: ghi]
expected: FAIL
[structured-clone.any.worker.html?21-40]
[number: Infinity]
@ -902,6 +908,9 @@
[Not serializable: MessageChannel: [object MessageChannel\]]
expected: FAIL
[SyntaxError: SyntaxError: ghi]
expected: FAIL
[structured-clone.any.worker.html?81-100]
[Uint16Array: 0,1,65534,65535]
@ -964,6 +973,9 @@
[SyntaxError: SyntaxError: ghi]
expected: FAIL
[Float16Array: -Infinity,-1.5,-1,-0.5,0,0.5,1,1.5,Infinity,NaN]
expected: FAIL
[structured-clone.any.html?21-40]
[number: Infinity]

View file

@ -3,6 +3,9 @@
[Deactivation of new transactions happens at end of invocation]
expected: TIMEOUT
[New transactions are deactivated before next task]
expected: FAIL
[transaction-deactivation-timing.any.serviceworker.html]
expected: ERROR
@ -12,6 +15,9 @@
[Deactivation of new transactions happens at end of invocation]
expected: TIMEOUT
[New transactions are deactivated before next task]
expected: FAIL
[transaction-deactivation-timing.any.sharedworker.html]
expected: ERROR

View file

@ -1,44 +1,46 @@
[value.any.html]
expected: TIMEOUT
[Values - Array]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - primitive BigInt]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - BigInt object]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - primitive BigInt inside object]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - BigInt object inside object]
expected: FAIL
expected: TIMEOUT
[Values - Date]
expected: FAIL
expected: TIMEOUT
[value.any.sharedworker.html]
expected: ERROR
[value.any.worker.html]
expected: TIMEOUT
[Values - Array]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - primitive BigInt]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - BigInt object]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - primitive BigInt inside object]
expected: FAIL
expected: TIMEOUT
[BigInts as values in IndexedDB - BigInt object inside object]
expected: FAIL
expected: TIMEOUT
[Values - Date]
expected: FAIL
expected: TIMEOUT
[value.any.serviceworker.html]

View file

@ -2,8 +2,28 @@
expected: ERROR
[value_recursive.any.html]
expected: TIMEOUT
[Recursive value - array directly contains self]
expected: TIMEOUT
[Recursive value - array indirectly contains self]
expected: TIMEOUT
[Recursive value - array member contains self]
expected: TIMEOUT
[value_recursive.any.worker.html]
expected: TIMEOUT
[Recursive value - array directly contains self]
expected: TIMEOUT
[Recursive value - array indirectly contains self]
expected: TIMEOUT
[Recursive value - array member contains self]
expected: TIMEOUT
[value_recursive.any.sharedworker.html]
expected: ERROR

View file

@ -5,10 +5,12 @@
expected: ERROR
[writer-starvation.any.worker.html]
expected: TIMEOUT
[IDB read requests should not starve write requests]
expected: FAIL
expected: TIMEOUT
[writer-starvation.any.html]
expected: TIMEOUT
[IDB read requests should not starve write requests]
expected: FAIL
expected: TIMEOUT