diff options
Diffstat (limited to 'testing/web-platform/tests/infrastructure/server/resources/proxy.sub.pac')
-rw-r--r-- | testing/web-platform/tests/infrastructure/server/resources/proxy.sub.pac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/infrastructure/server/resources/proxy.sub.pac b/testing/web-platform/tests/infrastructure/server/resources/proxy.sub.pac new file mode 100644 index 0000000000..78ce023448 --- /dev/null +++ b/testing/web-platform/tests/infrastructure/server/resources/proxy.sub.pac @@ -0,0 +1,7 @@ +function FindProxyForURL(url, host) { + if (dnsDomainIs(host, '.wpt.test')) { + return "PROXY 127.0.0.1:{{ports[http][0]}}" + } + + return "DIRECT"; +} |