From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../default-src-inline-allowed.sub.html | 28 +++++++++++++++++++ .../default-src-inline-blocked.sub.html | 31 ++++++++++++++++++++++ ...fault-src-strict_dynamic_and_unsafe_inline.html | 23 ++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 testing/web-platform/tests/content-security-policy/default-src/default-src-inline-allowed.sub.html create mode 100644 testing/web-platform/tests/content-security-policy/default-src/default-src-inline-blocked.sub.html create mode 100644 testing/web-platform/tests/content-security-policy/default-src/default-src-strict_dynamic_and_unsafe_inline.html (limited to 'testing/web-platform/tests/content-security-policy/default-src') diff --git a/testing/web-platform/tests/content-security-policy/default-src/default-src-inline-allowed.sub.html b/testing/web-platform/tests/content-security-policy/default-src/default-src-inline-allowed.sub.html new file mode 100644 index 0000000000..8f9bd81d39 --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/default-src/default-src-inline-allowed.sub.html @@ -0,0 +1,28 @@ + + + + + + + + default-src-inline-allowed + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/content-security-policy/default-src/default-src-inline-blocked.sub.html b/testing/web-platform/tests/content-security-policy/default-src/default-src-inline-blocked.sub.html new file mode 100644 index 0000000000..0cb4ca5538 --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/default-src/default-src-inline-blocked.sub.html @@ -0,0 +1,31 @@ + + + + + + + + default-src-inline-blocked + + + + + + + +

This test passes if the inline scripts don't create failing tests and a CSP report is sent.

+ + +
+ + + diff --git a/testing/web-platform/tests/content-security-policy/default-src/default-src-strict_dynamic_and_unsafe_inline.html b/testing/web-platform/tests/content-security-policy/default-src/default-src-strict_dynamic_and_unsafe_inline.html new file mode 100644 index 0000000000..bf45820ade --- /dev/null +++ b/testing/web-platform/tests/content-security-policy/default-src/default-src-strict_dynamic_and_unsafe_inline.html @@ -0,0 +1,23 @@ + + + + + `strict-dynamic` policy should discard `unsafe-inline` policy. + + + + + + + + + + + -- cgit v1.2.3