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

Side by Side Diff: net/data/proxy_resolver_v8_unittest/international_domain_names.js

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Try resolving hostnames containing non-ASCII characters.
2
3 function FindProxyForURL(url, host) {
4 // This international hostname has a non-ASCII character. It is represented
5 // in punycode as 'xn--bcher-kva.ch'
6 var idn = 'B\u00fccher.ch';
7
8 // We disregard the actual return value -- all we care about is that on
9 // the C++ end the bindings were passed the punycode equivalent of this
10 // unicode hostname.
11 dnsResolve(idn);
12 dnsResolveEx(idn);
13
14 return "DIRECT";
15 }
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698