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] Update Intl.NumberFormat's useGrouping handling
https://bugs.webkit.org/show_bug.cgi?id=246196 rdar://100877842 Reviewed by Ross Kirsling. Update the implementation with the spec update[1], handling "true" and "false" specially and throwing a range error for the other invalid cases. [1]: tc39/proposal-intl-numberformat-v3@4751da5 * JSTests/stress/intl-numberformat-usegrouping-v3.js: (nonListedUseGrouping.forEach): (specialUseGrouping.forEach): * JSTests/test262/expectations.yaml: * Source/JavaScriptCore/runtime/IntlNumberFormat.cpp: (JSC::IntlNumberFormat::initializeNumberFormat): * Source/JavaScriptCore/runtime/IntlObjectInlines.h: (JSC::intlStringOrBooleanOption): Canonical link: https://commits.webkit.org/255275@main
- Loading branch information
1 parent
8ed46d3
commit 4a7ae871cccb5324e996699daf4c5d9e7a8f768e
Showing
4 changed files
with
21 additions
and
8 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