mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
script: Ensure autoincrement and keypath are passed in correctly from IDBTransaction (#38738)
Previously, the correct autoincremented and keypath parameters were only being passed if the object store is being created. This PR queries this info from the backend and passes it onto the constructor in IDBTransaction. Furthermore it exposes keypath and index_names from IDBObjectStore, mainly for WPT. Testing: WPT Fixes: None --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
722b0de8d8
commit
97690b1cba
12 changed files with 84 additions and 170 deletions
12
tests/wpt/meta/IndexedDB/idlharness.any.js.ini
vendored
12
tests/wpt/meta/IndexedDB/idlharness.any.js.ini
vendored
|
@ -5,12 +5,6 @@
|
|||
[IDBFactory interface: operation databases()]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: attribute keyPath]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: attribute indexNames]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation openCursor(optional any, optional IDBCursorDirection)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -115,12 +109,6 @@
|
|||
[IDBFactory interface: operation databases()]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: attribute keyPath]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: attribute indexNames]
|
||||
expected: FAIL
|
||||
|
||||
[IDBObjectStore interface: operation openCursor(optional any, optional IDBCursorDirection)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue