diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/content-security-policy/resource-hints | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/resource-hints')
6 files changed, 98 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-allowed-by-any-directive.sub.html.ini b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-allowed-by-any-directive.sub.html.ini new file mode 100644 index 0000000000..816cd785fe --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-allowed-by-any-directive.sub.html.ini @@ -0,0 +1,10 @@ +[prefetch-allowed-by-any-directive.sub.html] + expected: TIMEOUT + [Prefetch should succeed when restricted by default-src but allowed by other directive] + expected: TIMEOUT + + [Prefetch should fail when restricted by default-src and different origin allowed by other directive] + expected: NOTRUN + + [Prefetch should succeed when restricted by default-src but origin allowed by other directive] + expected: NOTRUN diff --git a/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-allowed-with-conflicting-permissive-policies.html.ini b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-allowed-with-conflicting-permissive-policies.html.ini new file mode 100644 index 0000000000..0919ef94aa --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-allowed-with-conflicting-permissive-policies.html.ini @@ -0,0 +1,4 @@ +[prefetch-allowed-with-conflicting-permissive-policies.html] + expected: TIMEOUT + [Prefetch should succeed when a directive in a policy is permissive, even if a subsequent policy overrides that.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-blocked-by-default-multiple-policies.html.ini b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-blocked-by-default-multiple-policies.html.ini new file mode 100644 index 0000000000..f795f8c5d4 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-blocked-by-default-multiple-policies.html.ini @@ -0,0 +1,4 @@ +[prefetch-blocked-by-default-multiple-policies.html] + expected: TIMEOUT + [Prefetch should fail when restricted by default-src] + expected: TIMEOUT diff --git a/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-blocked-by-default.html.ini b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-blocked-by-default.html.ini new file mode 100644 index 0000000000..3ee2b910a5 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-blocked-by-default.html.ini @@ -0,0 +1,4 @@ +[prefetch-blocked-by-default.html] + expected: TIMEOUT + [Prefetch should fail when restricted by default-src] + expected: TIMEOUT diff --git a/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-generate-directives.html.ini b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-generate-directives.html.ini new file mode 100644 index 0000000000..38162f1d82 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-generate-directives.html.ini @@ -0,0 +1,72 @@ +[prefetch-generate-directives.html] + [Test that script-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that script-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that img-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that img-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that connect-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that connect-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that object-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that object-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that font-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that font-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that manifest-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that manifest-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that media-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that media-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that style-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that style-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that child-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that child-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that frame-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that frame-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that worker-src enabled with everything else disabled allows prefetching] + expected: FAIL + + [Test that worker-src enabled with default-src disabled allows prefetching] + expected: FAIL + + [Test that permissive script-src-elem supersedes script-src] + expected: FAIL + + [Test that permissive script-src supersedes script-src-elem] + expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-ignores-prefetch-src.sub.html.ini b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-ignores-prefetch-src.sub.html.ini new file mode 100644 index 0000000000..30e8ff98e7 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/resource-hints/prefetch-ignores-prefetch-src.sub.html.ini @@ -0,0 +1,4 @@ +[prefetch-ignores-prefetch-src.sub.html] + expected: TIMEOUT + [Prefetch should fail when restricted by default-src and allowed by unsupported prefetch-src directive (prefetch-src should be ignored)] + expected: TIMEOUT |