• Sathya Gunasekaran's avatar
    [Intl] Port ResolveLocale · 9e984162
    Sathya Gunasekaran authored
    - Add a new Intl::ResolveLocale method and uses it in all the intl objects.
    - Fix CanonicalizeLocaleList to call out to HasProperty as per spec.
    - Add calls to CanonicalizeLocaleList where it was previously missing.
    - Change CanonicalizeLocaleListJS calls to CanonicalizeLocaleList now
      that we have migrated ResolveLocale.
    
    Bug: v8:5751
    Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
    Change-Id: I4249d2045c1556f18d570b00f7c92cbc3fa52077
    Reviewed-on: https://chromium-review.googlesource.com/c/1270255Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Reviewed-by: 's avatarFrank Tang <ftang@chromium.org>
    Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56660}
    9e984162
js-relative-time-format.cc 16.3 KB