Bug 238437

Summary: Intl.NumberFormat.formatRange(), Intl.NumberFormat.formatRangeToParts(), and Intl.PluralRules.selectRange() are not available
Product: WebKit Reporter: Alan Davalos <alanodaval>
Component: New BugsAssignee: 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   

Description Alan Davalos 2022-03-27 23:18:27 PDT
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
Comment 1 Radar WebKit Bug Importer 2022-03-28 06:42:58 PDT
<rdar://problem/90919466>
Comment 2 Yusuke Suzuki 2022-03-28 10:25:23 PDT
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.