diff options
author | Takahiro HASHIMOTO <kenya888@gmail.com> | 2017-03-29 21:43:37 +0900 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-10 22:02:35 +0000 |
commit | 4210035e25d6832c217aab56d4e15b3183ca4f79 (patch) | |
tree | 17329ba0e89bfb2ec11e168d221651f4b71ac923 | |
parent | 493441248c82d9f39d0947e3bbf4571736e1cf85 (diff) | |
download | qtwebengine-chromium-53-based.tar.gz |
[Backport] [url_formatter] Update aspirational_scripts per Unicode 953-based
BUG=637001
Review-Url: https://codereview.chromium.org/2436113003
Cr-Commit-Position: refs/heads/master@{#426749}
Task-Number: QTBUG-59801
Change-Id: I20cd88e7a06e4ab9d2e5b0b4039a5748c1b224e6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/components/url_formatter/url_formatter.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/components/url_formatter/url_formatter.cc b/chromium/components/url_formatter/url_formatter.cc index 75f17262d47..3063ef8eb13 100644 --- a/chromium/components/url_formatter/url_formatter.cc +++ b/chromium/components/url_formatter/url_formatter.cc @@ -429,9 +429,9 @@ void IDNSpoofChecker::SetAllowedUnicodeSet(UErrorCode* status) { // section at // http://www.unicode.org/Public/security/latest/xidmodifications.txt) are // are added to the allowed set. The list has to be updated when a new - // version of Unicode is released. The current version is 8.0.0 and ICU 58 - // will have Unicode 9.0 data. -#if U_ICU_VERSION_MAJOR_NUM < 58 + // version of Unicode is released. The current version is 9.0.0 and ICU 60 + // will have Unicode 10.0 data. +#if U_ICU_VERSION_MAJOR_NUM < 60 const icu::UnicodeSet aspirational_scripts( icu::UnicodeString( // Unified Canadian Syllabics @@ -445,13 +445,13 @@ void IDNSpoofChecker::SetAllowedUnicodeSet(UErrorCode* status) { // Yi "\\uA000-\\uA48C" // Miao - "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7F" + "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7E" "\\U00016F8F-\\U00016F9F]", -1, US_INV), *status); allowed_set.addAll(aspirational_scripts); #else -#error "Update aspirational_scripts per Unicode 9.0" +#error "Update aspirational_scripts per Unicode 10.0" #endif // U+0338 is included in the recommended set, while U+05F4 and U+2027 are in |