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
blame
|
history
|
raw
|
HEAD
Supervised user whitelists: Cleanup
[chromium-blink-merge.git]
/
net
/
data
/
proxy_resolver_v8_tracing_unittest
/
global_sideffects4.js
blob
1bfbbfd88e5079d9301bf85a1b074420cb189d25
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
}