script: Implement IDBFactory.cmp (#38260)

Implements `IDBFactory.cmp`, most of the work was done by #38123.

Testing: Covered by WPT (lots of flaky results: the appropriate tests
are in tests/wpt/meta/IndexedDB/idlharness.any.js.ini)
Fixes: None

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
Ashwin Naren 2025-07-25 10:59:10 +05:30 committed by GitHub
parent 6cd8578f8b
commit ab78a76da6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 126 additions and 15 deletions

View file

@ -1,11 +1,45 @@
[idbobjectstore_delete.any.worker.html]
expected: CRASH
[delete() removes record (inline keys)]
expected: FAIL
[delete() key doesn't match any records]
expected: FAIL
[Object store's key path is an object attribute]
expected: FAIL
[delete() removes record (out-of-line keys)]
expected: FAIL
[delete() removes all of the records in the range]
expected: FAIL
[If the object store has been deleted, the implementation must throw a DOMException of type InvalidStateError]
expected: FAIL
[idbobjectstore_delete.any.serviceworker.html]
expected: ERROR
[idbobjectstore_delete.any.html]
expected: CRASH
[delete() removes record (inline keys)]
expected: FAIL
[delete() key doesn't match any records]
expected: FAIL
[Object store's key path is an object attribute]
expected: FAIL
[delete() removes record (out-of-line keys)]
expected: FAIL
[delete() removes all of the records in the range]
expected: FAIL
[If the object store has been deleted, the implementation must throw a DOMException of type InvalidStateError]
expected: FAIL
[idbobjectstore_delete.any.sharedworker.html]
expected: ERROR