Bug 284329
Summary: | [JSC] Fix error message for `Intl.NumberFormat`'s `currencyDisplay` option | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sosuke Suzuki <aosukeke> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Sosuke Suzuki
In the current JSC implementation, using an invalid
`currencyDisplay` option for `Intl.NumberFormat` throws
an error with the message: `currencyDisplay must be
either \"code\", \"symbol\", or \"name\"`.
However, `"narrowSymbol"` is also a valid option.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/37665
EWS
Committed 287642@main (f564835d48b7): <https://commits.webkit.org/287642@main>
Reviewed commits have been landed. Closing PR #37665 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/141254179>