summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/generic/src-trailing-dot.sub.any.js
blob: f2b45a6957c6c41bb8e1a8924db01ca6db4cd3ad (plain)
1
2
3
4
5
6
// META: global=window,worker

promise_test(t => {
    return fetch("{{location[scheme]}}://{{host}}.:{{location[port]}}"
        + "/content-security-policy/support/resource.py");
}, "Fetch from host with trailing dot should be allowed by CSP.");