summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/proxypac/proxy.pac
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/proxypac/proxy.pac')
-rw-r--r--tests/auto/widgets/proxypac/proxy.pac7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/widgets/proxypac/proxy.pac b/tests/auto/widgets/proxypac/proxy.pac
new file mode 100644
index 000000000..1d29847b9
--- /dev/null
+++ b/tests/auto/widgets/proxypac/proxy.pac
@@ -0,0 +1,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";
+}
+