src-trailing-dot.sub.any.js (248B)
1 // META: global=window,worker 2 3 promise_test(t => { 4 return fetch("{{location[scheme]}}://{{host}}.:{{location[port]}}" 5 + "/content-security-policy/support/resource.py"); 6 }, "Fetch from host with trailing dot should be allowed by CSP.");