Ready for Trial: Intl BestFitMatcher by using ICU LocaleMatcher

25 views
Skip to first unread message

Frank Tang

unread,
May 5, 2021, 11:57:46 AM5/5/21
to blink-dev

Contact emails

ft...@google.com

Explainer

None

Specification

https://tc39.es/ecma402/#sec-bestfitmatcher

Design docs


https://docs.google.com/document/d/1cPGfiihn76yj2iAomKcspPFyLLcnk3WkCiqceBQPQyk/edit#

Summary

Use the ICU LocaleMatcher to implement the BestFitMatcher of ECMA402 in v8 JavaScript engine. ECMA402 defined the BestFitMatcher abstract operation to allow browser implementation to implement a better way to match locale data. ICU 67.1 (launched in April 2020) comes with an improved icu::LocaleMatcher API and implementation . This document shows how we implement v8's BestFitMatcher to use such API.



Blink component

Blink>JavaScript>Internationalization

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility



Gecko: No signal

WebKit: No signal

Web developers: No signals


Goals for experimentation

None



Ongoing technical constraints

None



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No

Is this feature fully tested by web-platform-tests?

No

Flag name

--harmony_intl_best_fit_matcher

Tracking bug

https://bugs.chromium.org/p/v8/issues/detail?id=7051

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5407573287108608

This intent message was generated by Chrome Platform Status.

Joe Medley

unread,
May 11, 2021, 10:09:25 AM5/11/21
to Frank Tang, blink-dev
Do you mean ready for an origin trial?
Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.


--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOcELL_r4DGYFS4oakAroCbCiJGc_mHt%3DzHf1kiNkV3F1y6vpQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages