- add sources.
[platform/framework/web/crosswalk.git] / src / net / data / proxy_resolver_v8_tracing_unittest / global_sideffects4.js
1 var g_iteration = 0;
2
3 function FindProxyForURL(url, host) {
4   g_iteration++;
5
6   for (var i = 0; i < g_iteration; ++i) {
7     myIpAddress();
8   }
9
10   var result = '' + dnsResolve('host' + g_iteration);
11   result += g_iteration;
12
13   alert('iteration: ' + g_iteration);
14   return 'PROXY ' + result + ':34';
15 }