mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +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
|
@ -1,7 +1,4 @@
|
|||
[idbobjectstore_getAll.any.html]
|
||||
[Single item get]
|
||||
expected: FAIL
|
||||
|
||||
[Single item get (generated key)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -17,12 +14,6 @@
|
|||
[Test maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Get bound range]
|
||||
expected: FAIL
|
||||
|
||||
[Get bound range with maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Get upper excluded]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -32,21 +23,12 @@
|
|||
[Get bound range (generated) with maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Non existent key]
|
||||
expected: FAIL
|
||||
|
||||
[zero maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Max value count]
|
||||
expected: FAIL
|
||||
|
||||
[Query with empty range where first key < upperBound]
|
||||
expected: FAIL
|
||||
|
||||
[Query with empty range where lowerBound < last key]
|
||||
expected: FAIL
|
||||
|
||||
[Get all values with transaction.commit()]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -58,9 +40,6 @@
|
|||
expected: ERROR
|
||||
|
||||
[idbobjectstore_getAll.any.worker.html]
|
||||
[Single item get]
|
||||
expected: FAIL
|
||||
|
||||
[Single item get (generated key)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -76,12 +55,6 @@
|
|||
[Test maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Get bound range]
|
||||
expected: FAIL
|
||||
|
||||
[Get bound range with maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Get upper excluded]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -91,21 +64,12 @@
|
|||
[Get bound range (generated) with maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Non existent key]
|
||||
expected: FAIL
|
||||
|
||||
[zero maxCount]
|
||||
expected: FAIL
|
||||
|
||||
[Max value count]
|
||||
expected: FAIL
|
||||
|
||||
[Query with empty range where first key < upperBound]
|
||||
expected: FAIL
|
||||
|
||||
[Query with empty range where lowerBound < last key]
|
||||
expected: FAIL
|
||||
|
||||
[Get all values with transaction.commit()]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue