summaryrefslogtreecommitdiffstats
path: root/net/data/proxy_resolver_v8_tracing_unittest/simple_dns.js
blob: 24867b07a3020d3ca32a2a279212bde5378e79df (plain)
1
2
3
4
5
6
7
8
var g_iteration = 0;

function FindProxyForURL(url, host) {
  g_iteration++;
  myIpAddress();
  var ip = dnsResolve(host);
  return "PROXY " + ip + ':' + g_iteration;
}