Commit Graph

2 Commits

Author SHA1 Message Date
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
Shannon Booth
a0d4344d4e Tests/LibWeb: Import some more webstorage WPT tests
Which were helpful in determining property behaviour for the Storage
object.
2026-02-16 18:49:15 +01:00