1
0
Fork 0
firefox/testing/web-platform/tests/content-security-policy/generic/src-trailing-dot.sub.any.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

6 lines
248 B
JavaScript

// 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.");