Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / net / data / proxy_resolver_v8_unittest / international_domain_names.js
blob546af13d51d38758d226b10d04ee83b1ded010b9
1 // Try resolving hostnames containing non-ASCII characters.
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';
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);
14 return "DIRECT";