Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/webstorage/defineProperty.window.txt
Shannon Booth 1a3a775943 LibWeb: Treat numeric PropertyKeys as Strings per spec in PlatformObject
PropertyKey values can only be String or Symbol per spec; numeric keys
are an internal optimization and should be treated as Strings.

This fixes incorrect behavior for numeric property names on legacy
platform objects (e.g. Web Storage).
2026-02-16 18:49:15 +01:00

11 lines
417 B
Plaintext

Harness status: OK
Found 6 tests
6 Pass
Pass Defining data property for key 9 on sessionStorage
Pass Defining data property for key 9 on sessionStorage twice
Pass Defining data property with toString for key 9 on sessionStorage
Pass Defining data property for key x on sessionStorage
Pass Defining data property for key x on sessionStorage twice
Pass Defining data property with toString for key x on sessionStorage