mirror of
https://github.com/servo/servo.git
synced 2025-09-15 01:18:22 +01:00
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>
21 lines
525 B
INI
Vendored
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
|