v8/test
Jungshik Shin 2abb31a9d6 Use ICU to validate and canonicalize lang tag
- Get rid of an unnecessary call to uloc_canonicalize in js-locale.
- Do not use regex, but rely on ICU for the structrural validity check
with Chrome's ICU or ICU 63 or newer. Otherwise, continue to use regex.

This became possible thanks to a couple of bug fixes in ICU ToT that
were cherry-picked for Chromium's ICU.

Not yet done is to change js-locale to use CanonicalizeLocale().
That will make a few more tests pass.

Bug: v8:8135
Test: test262/intl402/Intl/getCanonicalLocales/*
Test: test262/intl402/Locale/*
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I45c10b298fb041e0b39a4d96309c68a7966f91c2
Reviewed-on: https://chromium-review.googlesource.com/c/1215223
Commit-Queue: Jungshik Shin <jshin@chromium.org>
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56399}
2018-10-05 08:26:39 +00:00
..
benchmarks [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
cctest [wasm-atomics] enable tests on ARM hardware 2018-10-04 17:53:17 +00:00
common Fix Arm64 assembler on Android. 2018-09-18 09:43:05 +00:00
debugger Remove always-true --harmony-bigint runtime flag 2018-10-01 11:31:13 +00:00
fuzzer [wasm,test] Pass correct code kind in Wasm tests 2018-10-02 14:21:53 +00:00
inspector [test] Disable a flaky command-line-api-without-side-effects test 2018-10-04 14:41:22 +00:00
intl Use ICU to validate and canonicalize lang tag 2018-10-05 08:26:39 +00:00
js-perf-test Revert "[builtins] Add FastCallFunction builtin that elides some checks" 2018-09-14 11:09:08 +00:00
memory [builtins] Add embedded stats to --serialization-statistics 2018-07-05 12:33:26 +00:00
message Remove always-true --harmony-function-tostring runtime flag 2018-10-03 15:04:16 +00:00
mjsunit [async] Only try to peak into async functions/generators. 2018-10-05 06:36:27 +00:00
mkgrokdump [cleanup] Use RootIndex instead of int in serializer code 2018-09-26 09:49:40 +00:00
mozilla [test] Add more test suites to Android testing 2018-09-07 09:53:15 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 Use ICU to validate and canonicalize lang tag 2018-10-05 08:26:39 +00:00
torque [torque] add an intermediate representation to Torque 2018-10-04 21:29:18 +00:00
unittests ppc64,aix: fixed Abort() calling sequence on Aix 2018-10-03 19:40:59 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-09-25 08:36:32 +00:00
webkit Remove always-true --harmony-string-trimming runtime flag 2018-10-01 16:19:19 +00:00
BUILD.gn Reland "[test] Add logic to run tests on Android" 2018-08-10 17:56:12 +00:00