repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git]
/
net
/
data
/
proxy_resolver_v8_tracing_unittest
/
dns_during_init.js
blob
55aef52e6f13b57632337878a79a62662b4782ab
1
var g_ips = [
2
dnsResolve('host1'),
3
dnsResolve('host2')
4
];
5
6
alert('Watsup');
7
alert('Watsup2');
8
9
function FindProxyForURL(url, host) {
10
// Note that host1 and host2 should not resolve using the same cache as was
11
// used for g_ips!
12
var ips = g_ips.concat([dnsResolve('host1'), dnsResolve('host2')]);
13
return 'PROXY ' + ips.join('-') + ':99';
14
}