servo/tests/wpt/meta/IndexedDB/idbdatabase_createObjectStore.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

21 lines
525 B
INI
Vendored

[idbdatabase_createObjectStore.any.sharedworker.html]
expected: ERROR
[idbdatabase_createObjectStore.any.html]
[Both with empty name]
expected: FAIL
[Attempt to create an object store outside of a version change transaction ]
expected: FAIL
[idbdatabase_createObjectStore.any.worker.html]
[Both with empty name]
expected: FAIL
[Attempt to create an object store outside of a version change transaction ]
expected: FAIL
[idbdatabase_createObjectStore.any.serviceworker.html]
expected: ERROR