script: Initialize IDBCursor and IDBCursorWithValue interfaces (#38850)

Testing: Update WPT test expectation
Fixes: Part of #38111

---------

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
This commit is contained in:
Kingsley Yung 2025-08-30 22:33:01 +08:00 committed by GitHub
parent 0ac8d06053
commit 4571cc1b3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 302 additions and 138 deletions

View file

@ -2,32 +2,8 @@
expected: ERROR
[historical.any.html]
["NEXT" should not be supported on IDBCursor.]
expected: FAIL
["NEXT_NO_DUPLICATE" should not be supported on IDBCursor.]
expected: FAIL
["PREV" should not be supported on IDBCursor.]
expected: FAIL
["PREV_NO_DUPLICATE" should not be supported on IDBCursor.]
expected: FAIL
[historical.any.worker.html]
["NEXT" should not be supported on IDBCursor.]
expected: FAIL
["NEXT_NO_DUPLICATE" should not be supported on IDBCursor.]
expected: FAIL
["PREV" should not be supported on IDBCursor.]
expected: FAIL
["PREV_NO_DUPLICATE" should not be supported on IDBCursor.]
expected: FAIL
[historical.any.sharedworker.html]
expected: ERROR

View file

@ -59,39 +59,6 @@
[IDBIndex interface: operation openKeyCursor(optional any, optional IDBCursorDirection)]
expected: FAIL
[IDBCursor interface: existence and properties of interface object]
expected: FAIL
[IDBCursor interface object length]
expected: FAIL
[IDBCursor interface object name]
expected: FAIL
[IDBCursor interface: existence and properties of interface prototype object]
expected: FAIL
[IDBCursor interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[IDBCursor interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[IDBCursor interface: attribute source]
expected: FAIL
[IDBCursor interface: attribute direction]
expected: FAIL
[IDBCursor interface: attribute key]
expected: FAIL
[IDBCursor interface: attribute primaryKey]
expected: FAIL
[IDBCursor interface: attribute request]
expected: FAIL
[IDBCursor interface: operation advance(unsigned long)]
expected: FAIL
@ -107,27 +74,6 @@
[IDBCursor interface: operation delete()]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface object]
expected: FAIL
[IDBCursorWithValue interface object length]
expected: FAIL
[IDBCursorWithValue interface object name]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface prototype object]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[IDBCursorWithValue interface: attribute value]
expected: FAIL
[IDBTransaction interface: attribute durability]
expected: FAIL
@ -229,39 +175,6 @@
[IDBIndex interface: operation openKeyCursor(optional any, optional IDBCursorDirection)]
expected: FAIL
[IDBCursor interface: existence and properties of interface object]
expected: FAIL
[IDBCursor interface object length]
expected: FAIL
[IDBCursor interface object name]
expected: FAIL
[IDBCursor interface: existence and properties of interface prototype object]
expected: FAIL
[IDBCursor interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[IDBCursor interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[IDBCursor interface: attribute source]
expected: FAIL
[IDBCursor interface: attribute direction]
expected: FAIL
[IDBCursor interface: attribute key]
expected: FAIL
[IDBCursor interface: attribute primaryKey]
expected: FAIL
[IDBCursor interface: attribute request]
expected: FAIL
[IDBCursor interface: operation advance(unsigned long)]
expected: FAIL
@ -277,27 +190,6 @@
[IDBCursor interface: operation delete()]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface object]
expected: FAIL
[IDBCursorWithValue interface object length]
expected: FAIL
[IDBCursorWithValue interface object name]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface prototype object]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[IDBCursorWithValue interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[IDBCursorWithValue interface: attribute value]
expected: FAIL
[IDBTransaction interface: attribute durability]
expected: FAIL

View file

@ -4,9 +4,3 @@
[The CanvasPath interface object should be exposed.]
expected: FAIL
[The IDBCursor interface object should be exposed.]
expected: FAIL
[The IDBCursorWithValue interface object should be exposed.]
expected: FAIL