[webkit-changes] [WebKit/WebKit] 22cfa1: [JSC] Update Intl.NumberFormat / Intl.PluralRules ...
Yusuke Suzuki
noreply at github.com
Tue Aug 22 00:09:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 22cfa17515c153b0a2041985879138bc68f9a260
https://github.com/WebKit/WebKit/commit/22cfa17515c153b0a2041985879138bc68f9a260
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-08-22 (Tue, 22 Aug 2023)
Changed paths:
M JSTests/stress/intl-numberformat-rounding-increment-value.js
M JSTests/stress/intl-numberformat-rounding-mode-v3.js
M JSTests/test262/config.yaml
M JSTests/test262/expectations.yaml
M Source/JavaScriptCore/runtime/IntlNumberFormat.cpp
M Source/JavaScriptCore/runtime/IntlNumberFormat.h
M Source/JavaScriptCore/runtime/IntlNumberFormatInlines.h
M Source/JavaScriptCore/runtime/IntlPluralRules.cpp
M Source/JavaScriptCore/runtime/IntlPluralRules.h
Log Message:
-----------
[JSC] Update Intl.NumberFormat / Intl.PluralRules roundingIncrement handling
https://bugs.webkit.org/show_bug.cgi?id=260489
rdar://114219889
Reviewed by Ross Kirsling.
This patch updates Intl.NumberFormat / Intl.PluralRules to the latest spec.
In particular, roundingIncrement / roundingMode / roundingPriority handlings are updated.
* JSTests/test262/config.yaml:
* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/IntlNumberFormat.cpp:
(JSC::IntlNumberFormat::initializeNumberFormat):
(JSC::IntlNumberFormat::trailingZeroDisplayString):
* Source/JavaScriptCore/runtime/IntlNumberFormat.h:
* Source/JavaScriptCore/runtime/IntlNumberFormatInlines.h:
(JSC::setNumberFormatDigitOptions):
(JSC::appendNumberFormatDigitOptionsToSkeleton):
* Source/JavaScriptCore/runtime/IntlPluralRules.cpp:
(JSC::IntlPluralRules::initializePluralRules):
(JSC::IntlPluralRules::resolvedOptions const):
* Source/JavaScriptCore/runtime/IntlPluralRules.h:
Canonical link: https://commits.webkit.org/267123@main
More information about the webkit-changes
mailing list