summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/server/resources/proxy.sub.pac
blob: 78ce023448597ab4296c4e3ac8fae13655f3959c (plain)
1
2
3
4
5
6
7
function FindProxyForURL(url, host) {
    if (dnsDomainIs(host, '.wpt.test')) {
        return "PROXY 127.0.0.1:{{ports[http][0]}}"
    }

    return "DIRECT";
}