1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 function FindProxyForURL(url
, host
) {
10 var ip1
= dnsResolve("host1");
11 var ip2
= dnsResolveEx("host2");
13 if (ip1
== "182.111.0.222" && ip2
== "111.33.44.55")
14 return "PROXY foopy:" + g_iteration
;
16 // If the script didn't terminate when abandoned, then it will reach this and