From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../connect-src/worker-from-guid.sub.html | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 testing/web-platform/tests/content-security-policy/connect-src/worker-from-guid.sub.html (limited to 'testing/web-platform/tests/content-security-policy/connect-src/worker-from-guid.sub.html') diff --git a/testing/web-platform/tests/content-security-policy/connect-src/worker-from-guid.sub.html b/testing/web-platform/tests/content-security-policy/connect-src/worker-from-guid.sub.html new file mode 100644 index 0000000000..045afb8082 --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/connect-src/worker-from-guid.sub.html @@ -0,0 +1,64 @@ + + + + + + + worker-connect-src-blocked + + + + + +

This test loads a worker, from a guid. + The worker should be blocked from making an XHR + to www1 as this resource's policy is connect-src 'self + and a guid Worker should inherit is parent's policy. + A report should be sent to the report-uri specified + with this resource.

+ + +
+ + + -- cgit v1.2.3