Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JSC] Adopt Intl.NumberFormat v3 spec change for useGrouping option
https://bugs.webkit.org/show_bug.cgi?id=242200 rdar://93712843 Reviewed by Ross Kirsling. Intl.NumberFormat v3's useGrouping option has incompatibility with the previous version. We observe it in JSTests and PerformanceTests. And we discussed it in ECMA-402 meeting[1]. ECMA-402 members agree that we fix this incompatibility, and it is done in [2]. This patch applies this change to our implementation. [1]: https://github.com/tc39/ecma402/blob/master/meetings/notes-2022-03-17.md#web-compatibility-allow-the-string-true-for-usegrouping [2]: tc39/proposal-intl-numberformat-v3@0cf3965 * JSTests/stress/intl-numberformat-usegrouping-v3.js: (nonListedUseGrouping.forEach): (invalidUseGrouping.forEach): Deleted. * JSTests/test262/expectations.yaml: * PerformanceTests/Skipped: * Source/JavaScriptCore/runtime/IntlNumberFormat.cpp: (JSC::IntlNumberFormat::initializeNumberFormat): * Source/JavaScriptCore/runtime/IntlObjectInlines.h: (JSC::intlStringOrBooleanOption): Canonical link: https://commits.webkit.org/252013@main
- Loading branch information
1 parent
d224393
commit 70694b2a29d9e4233af0341e709582086740785d
Showing
5 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters