ladybird/Tests/LibLocale
Timothy Flynn 9724a25daf LibJS+LibLocale: Replace canonical locales and display names with ICU
Note: We keep locale parsing and syntactic validation as-is. ECMA-402
places additional restrictions on locales above what is required by the
Unicode spec. ICU doesn't provide methods that let us easily check those
restrictions, whereas LibLocale does. Other browsers also implement
their own validators here.

This introduces a locale cache to re-use parsed locale data and various
related structures (not doing so has a non-negligible performance impact
on Intl tests).

The existing APIs for canonicalization and display names are pretty
intertwined, so they must both be adapted at once here. The results of
canonicalization are slightly different on some edge cases. But the
changed results are actually now aligned with Chrome and Safari.
2024-06-09 10:47:28 +02:00
..
CMakeLists.txt LibJS+LibLocale: Replace canonical locales and display names with ICU 2024-06-09 10:47:28 +02:00
TestDateTimeFormat.cpp LibLocale+LibJS+ClockSettings: Make date time format APIs infallible 2023-08-23 05:29:21 +02:00
TestDisplayNames.cpp LibJS+LibLocale: Replace canonical locales and display names with ICU 2024-06-09 10:47:28 +02:00
TestLocale.cpp LibJS+LibLocale: Replace canonical locales and display names with ICU 2024-06-09 10:47:28 +02:00