Commit 359c3468 authored by Jungshik Shin's avatar Jungshik Shin Committed by Commit Bot

Roll ICU to ICU 61.1 + local changes

See https://chromium-review.googlesource.com/c/chromium/deps/icu/+/1041578
for details.

Note that there's ~90kB size increase for desktop Chrome.

Cq_Include_Trybots: master.tryserver.blink:linux_trusty_blink_rel,mac10.12_blink_rel,win10_blink_rel;master.tryserver.chromium.android:android_blink_rel

Bug: 838383
Test: base_unittests:*Conv*,*Format*,*Break*
Test: components_unittests: *IDN*, *URL*, *Format*
Test: gfx_unittests: *Word*
Test: Blink tests, layout tests, accessibility_unittests: *Boundar*
Change-Id: Icabbeeec9c5233c1f7a9ba703b2a7ce72ae41b53
Reviewed-on: https://chromium-review.googlesource.com/1038226Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Jungshik Shin <jshin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556952}
parent 4c89d167
......@@ -653,7 +653,7 @@ deps = {
Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + 'a9bac57ce6c9d390a52ebaad3259f5fdb871210e',
'src/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'e4194dc7bbb3305d84cbb1b294274ca70d230721',
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'f61e46dbee9d539a32551493e3bcc1dea92f83ec',
'src/third_party/icu4j': {
'packages': [
......
......@@ -63,14 +63,14 @@ TEST(NumberFormattingTest, FormatDouble) {
{1024.2, 0, "1,024", "1.024"},
{-1024.223, 2, "-1,024.22", "-1.024,22"},
{std::numeric_limits<double>::max(), 6,
"179,769,313,486,232,000,000,000,000,000,000,000,000,000,000,000,000,"
"179,769,313,486,231,570,000,000,000,000,000,000,000,000,000,000,000,"
"000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,"
"000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,"
"000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,"
"000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,"
"000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,"
"000.000000",
"179.769.313.486.232.000.000.000.000.000.000.000.000.000.000.000.000."
"179.769.313.486.231.570.000.000.000.000.000.000.000.000.000.000.000."
"000.000.000.000.000.000.000.000.000.000.000.000.000.000.000.000.000."
"000.000.000.000.000.000.000.000.000.000.000.000.000.000.000.000.000."
"000.000.000.000.000.000.000.000.000.000.000.000.000.000.000.000.000."
......@@ -108,12 +108,10 @@ TEST(NumberFormattingTest, FormatPercent) {
const wchar_t* expected_persian;
const wchar_t* expected_arabic;
} cases[] = {
{0, "0%", L"0\xa0%", L"\x6f0\x66a", L"\x660\xa0\x66a\x61c"},
{42, "42%", L"42\xa0%", L"\x6f4\x6f2\x66a",
L"\x664\x662\xa0\x66a\x61c"},
{1024, "1,024%", L"1.024\xa0%",
L"\x6f1\x66c\x6f0\x6f2\x6f4\x66a",
L"\x661\x66c\x660\x662\x664\xa0\x66a\x61c"},
{0, "0%", L"0\xa0%", L"\x6f0\x66a", L"\x660\x66a\x61c"},
{42, "42%", L"42\xa0%", L"\x6f4\x6f2\x66a", L"\x664\x662\x66a\x61c"},
{1024, "1,024%", L"1.024\xa0%", L"\x6f1\x66c\x6f0\x6f2\x6f4\x66a",
L"\x661\x66c\x660\x662\x664\x66a\x61c"},
};
test::ScopedRestoreICUDefaultLocale restore_locale;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment