summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/proxypac/proxy.pac
blob: 1d29847b9bc8ce9d11884be60a8d451a727a3034 (plain)
1
2
3
4
5
6
7
function FindProxyForURL(url, host)
{
   if (shExpMatch(host, "*.proxy1.com")) return "PROXY localhost:5551";
   if (shExpMatch(host, "*.proxy2.com")) return "PROXY localhost:5552";
   return "PROXY proxy.url:8080";
}