Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8cd1f6cc395ca82effa2968efe87339d54be2b66
https://github.com/WebKit/WebKit/commit/8cd1f6cc395ca82effa2968efe87339d54be2b66
Author: Sosuke Suzuki <[email protected]>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
A JSTests/stress/intl-locale-info-firstDayOfWeek.js
M JSTests/test262/expectations.yaml
M Source/JavaScriptCore/runtime/CommonIdentifiers.h
M Source/JavaScriptCore/runtime/IntlLocale.cpp
M Source/JavaScriptCore/runtime/IntlLocale.h
M Source/JavaScriptCore/runtime/IntlLocalePrototype.cpp
Log Message:
-----------
[JSC] Implement `firstDayOfWeek` for `Intl.Locale` info API
https://bugs.webkit.org/show_bug.cgi?id=276943
Reviewed by Ross Kirsling.
JSC has implemented the Stage 3 Intl.Locale Info API[1][2]. The proposal
includes support for the
"fw" (First day of the week) Unicode extension[3], but it is not currently
implemented in JSC.
This patch implements support for the "fw" extension in the Intl.Locale Info
API.
[1]: https://github.com/tc39/proposal-intl-locale-info
[2]: https://tc39.es/proposal-intl-locale-info
[3]: https://unicode.org/reports/tr35/#Key_Type_Definitions
* Source/JavaScriptCore/runtime/CommonIdentifiers.h:
* Source/JavaScriptCore/runtime/IntlLocale.cpp:
(JSC::weekDayToString):
(JSC::IntlLocale::initializeLocale):
(JSC::IntlLocale::firstDayOfWeek):
* Source/JavaScriptCore/runtime/IntlLocale.h:
* Source/JavaScriptCore/runtime/IntlLocalePrototype.cpp:
(JSC::JSC_DEFINE_CUSTOM_GETTER):
Canonical link: https://commits.webkit.org/281510@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes