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
Update V8 to version 4.7.42.
[chromium-blink-merge.git]
/
net
/
data
/
proxy_resolver_v8_tracing_unittest
/
global_sideffects3.js
blob
04211260c3b2fcf1274727be6bf8341bafe834d8
1
var g_iteration = 0;
2
3
function FindProxyForURL(url, host) {
4
g_iteration++;
5
6
var results = [];
7
for (var i = 1; i <= g_iteration; ++i) {
8
results.push('' + dnsResolve('host' + i));
9
}
10
11
alert('iteration: ' + g_iteration);
12
return 'PROXY ' + results.join('-') + ':' + g_iteration;
13
}