servo/tests/wpt/meta/IndexedDB/idbdatabase-createObjectStore-exception-order.any.js.ini
Kingsley Yung a4c6108cbe
script: Check if IndexedDB key path is ECMAScript identifier name (#39255)
From IndexedDB spec, when we check whether a key path is valid, we have
to check whether it is an ECMAScript identifier name. We have not yet
implemented this logic, and always return true.

This patch uses the function `js::rust::wrappers::JS_IsIdentifier` to
achieve this checking.

Testing: Pass WPT tests that were expected to fail.
Fixes: #25324

---------

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
2025-09-12 15:02:28 +00:00

14 lines
536 B
INI
Vendored

[idbdatabase-createObjectStore-exception-order.any.worker.html]
[IDBDatabase.createObjectStore exception order: InvalidStateError vs. TransactionInactiveError]
expected: FAIL
[idbdatabase-createObjectStore-exception-order.any.sharedworker.html]
expected: ERROR
[idbdatabase-createObjectStore-exception-order.any.serviceworker.html]
expected: ERROR
[idbdatabase-createObjectStore-exception-order.any.html]
[IDBDatabase.createObjectStore exception order: InvalidStateError vs. TransactionInactiveError]
expected: FAIL