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
Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git]
/
net
/
data
/
proxy_resolver_v8_tracing_unittest
/
global_sideffects1.js
blob
251af9f754621ddec247f294908015f062cd88c6
1
var
g_iteration
=
0
;
2
3
function
FindProxyForURL
(
url
,
host
) {
4
g_iteration
++;
5
6
var
ips
= [
7
dnsResolve
(
'host1'
),
8
dnsResolve
(
'crazy'
+
g_iteration
)
9
];
10
11
alert
(
'iteration: '
+
g_iteration
);
12
13
return
'PROXY '
+
ips
.
join
(
'-'
) +
':100'
;
14
}