Bug 238437
| Summary: | Intl.NumberFormat.formatRange(), Intl.NumberFormat.formatRangeToParts(), and Intl.PluralRules.selectRange() are not available | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alan Davalos <alanodaval> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | jond, mmaxfield, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 10.15 | ||
Alan Davalos
The release notes for Safari 15.4 mention that Intl.NumberFormat.formatRange(), Intl.NumberFormat.formatRangeToParts(), and Intl.PluralRules.selectRange() have all been added.
https://developer.apple.com/documentation/safari-release-notes/safari-15_4-release-notes
However, doing some simple tests, all of the functions above are undefined
new Intl.NumberFormat('de-DE').formatRange; // undefined
new Intl.NumberFormat('de-DE').formatRangeToParts; // undefined
new Intl.PluralRules('de-DE').selectRange; // undefined
I've tested the other Intl features added in 15.4 but every other feature except these three seem to be implemented correctly
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/90919466>
Yusuke Suzuki
Thanks.
This needs the latest macOS / iOS update too since it relies on the system-installed ICU.
So, please update the OS to update the system ICU.