summaryrefslogtreecommitdiff
path: root/chromium/net/data/proxy_resolver_v8_unittest/side_effects.js
blob: 39b3b2d6ca3b42e3ed8b7754fb0cc5c89dccef28 (plain)
1
2
3
4
5
6
7
8
9
10
if (!gCounter) {
  // We write it this way so if the script gets loaded twice,
  // gCounter remains dirty.
  var gCounter = 0;
}

function FindProxyForURL(url, host) {
  return "PROXY sideffect_" + gCounter++;
}