lgtm2 On Wed, May 11, 2016 at 10:58 AM, Jochen Eisinger <joc...@chromium.org> wrote:
> lgtm1 > > Daniel Ehrenberg <little...@chromium.org> schrieb am Mi., 11. Mai 2016, > 19:55: > >> Primary eng email >> little...@chromium.org >> >> *Summary* >> Remove most of V8's additional methods and properties in ECMA 402 (Intl), >> namely v8Parse, resolved and pattern. >> >> V8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=3785 >> >> *Motivation* >> These three properties are unsupported in other browsers, not >> standardized, and most are unlikely to get on a standards track in the near >> future. >> - v8Parse calls out to ICU's locale-based date/number parsing >> implementation. However, the consensus among internationalization experts >> I've communicated with is that the natural language processing is more >> involved than simply processing something by the locale, and is better >> served by a userspace library. >> - resolved exposes a certain view of an unprocessed, internal version of >> resolvedOptions(). For example, the calendar name is based on an internal >> ICU format, rather than the standardized version in ECMA 402 which >> resolvedOptions() presents. >> - pattern exposes the CLDR pattern corresponding to a >> Number/DateTimeFormat. This may make sense to standardize in the future, >> but currently, ECMA 402 does not reference CLDR and does not support this >> property. >> >> Although v8BreakIterator is V8-only and not standardized, it is not to be >> removed in this intent due to its higher usage rate. >> >> *Compatibility risk* >> No other browser supports these custom properties, and no specification >> specifies semantics. Any site which depended on them would only work in >> Chrome. >> >> A quick search on GitHub shows that usages in libraries come with >> fallback paths, likely present to support the other browsers which don't >> have them. >> >> *Alternative implementation suggestion for web develoepers* >> Use the standard resolvedOptions() instead of resolved. >> >> *Usage information from UseCounters* >> UseCounters show that these features are only very rarely used on the >> web. resolved is used in .0002-.0003% of document loads, and the others are >> used less frequently. >> >> *Requesting approval to remove too?* >> Yes. >> >> -- >> -- >> v8-users mailing list >> v8-users@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.