[Webkit-unassigned] [Bug 169182] Currency digits calculation in Intl.NumberFormat should call out to ICU

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 13 07:13:13 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=169182

--- Comment #11 from Daniel Ehrenberg <littledan at chromium.org> ---
In this case, the reason why it's a mistake is very subtle. The library gives linguistically more accurate information than what WebKit uses otherwise. Updates to the library should be for the same goal as providing linguistically accurate information. WebKit makes heavy use of ICU in other places. Chromium has long called out to ICU for this information, and three major browsers use ICU for other parts of Intl.NumberFormat generally. Do you think that WebKit would benefit from reimplementing icu::DecimalFormat to reduce dependency on ICU in its ECMA 402 implementation?

Here, use of the library is disallowed because the specification of JavaScript requires a particular information source with more legalistic and less linguistically relevant data. I'm pursuing a change in the specification at  https://github.com/tc39/ecma402/issues/134 because I think it will give users better behavior.

Anyway, sorry for the churn here! I'll upload a revert patch soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170313/d21bc51a/attachment.html>


More information about the webkit-unassigned mailing list