Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(715)

Unified Diff: components/url_formatter/elide_url_unittest.cc

Issue 1861213002: Convert host names in ACE to Unicode in ElideHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ace => puny; comment added Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/url_formatter/elide_url.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_formatter/elide_url_unittest.cc
diff --git a/components/url_formatter/elide_url_unittest.cc b/components/url_formatter/elide_url_unittest.cc
index 1d911a8e216eb55438fb464eea1791380477052e..2a62f1f6253ce7c4c90fcb4f60f1ce92bfb828a3 100644
--- a/components/url_formatter/elide_url_unittest.cc
+++ b/components/url_formatter/elide_url_unittest.cc
@@ -196,6 +196,9 @@ TEST(TextEliderTest, TestHostEliding) {
{"http://subdomain.reallylongdomainname.com",
kEllipsisStr + "ain.reallylongdomainname.com", Testcase::NO_IOS},
{"http://a.b.c.d.e.f.com", kEllipsisStr + ".e.f.com", Testcase::NO_IOS},
+ // IDN - Greek alpha.beta.gamma.delta.epsilon.zeta.com
+ {"http://xn--mxa.xn--nxa.xn--oxa.xn--pxa.xn--qxa.xn--rxa.com",
+ kEllipsisStr + ".\xCE\xB5.\xCE\xB6.com", Testcase::NO_IOS},
};
for (size_t i = 0; i < arraysize(testcases); ++i) {
« no previous file with comments | « components/url_formatter/elide_url.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698