indexeddb: Implement autoincremented keys and report autoincrementedness properly through DOM interface (#38723)

Autoincrementedness was previously being reported as always false. This
PR makes the state become queried from the backend, as the spec
specifies. Additionally this PR ensures the backend correctly handles an
object store which autoincrements.

Testing: WPT
Fixes: None

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
Ashwin Naren 2025-08-30 20:54:18 -07:00 committed by GitHub
parent ce35161a6e
commit 91b2ab5458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 80 additions and 74 deletions

View file

@ -2,12 +2,6 @@
expected: ERROR
[idbobjectstore-request-source.any.worker.html]
[The source of the request from store => store.put(0) is the object store itself]
expected: FAIL
[The source of the request from store => store.add(0) is the object store itself]
expected: FAIL
[The source of the request from store => store.getAll() is the object store itself]
expected: FAIL
@ -28,12 +22,6 @@
expected: ERROR
[idbobjectstore-request-source.any.html]
[The source of the request from store => store.put(0) is the object store itself]
expected: FAIL
[The source of the request from store => store.add(0) is the object store itself]
expected: FAIL
[The source of the request from store => store.getAll() is the object store itself]
expected: FAIL