summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-security-policy/generic
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/content-security-policy/generic
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/generic')
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/304-response-should-update-csp.sub.html.ini7
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/eval-typecheck-callout-order.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/filesystem-urls-do-not-match-self.sub.html.ini8
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/filesystem-urls-match-filesystem.sub.html.ini4
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_1-script-src.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_2.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_8.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/generic-0_9.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/invalid-characters-in-policy.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/no-default-src.sub.html.ini7
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/policy-does-not-affect-child.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/policy-inherited-correctly-by-plznavigate.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/generic/src-trailing-dot.sub.any.js.ini18
17 files changed, 80 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/generic/304-response-should-update-csp.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/304-response-should-update-csp.sub.html.ini
new file mode 100644
index 0000000000..3770453d06
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/304-response-should-update-csp.sub.html.ini
@@ -0,0 +1,7 @@
+[304-response-should-update-csp.sub.html]
+ [Test that the first frame does not use nonce def]
+ expected: FAIL
+
+ [Test that the second frame does not use nonce abc]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/content-security-policy/generic/eval-typecheck-callout-order.tentative.html.ini b/testing/web-platform/meta/content-security-policy/generic/eval-typecheck-callout-order.tentative.html.ini
new file mode 100644
index 0000000000..4dd707f03c
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/eval-typecheck-callout-order.tentative.html.ini
@@ -0,0 +1,3 @@
+[eval-typecheck-callout-order.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/filesystem-urls-do-not-match-self.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/filesystem-urls-do-not-match-self.sub.html.ini
new file mode 100644
index 0000000000..af67eca9f9
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/filesystem-urls-do-not-match-self.sub.html.ini
@@ -0,0 +1,8 @@
+[filesystem-urls-do-not-match-self.sub.html]
+ expected: TIMEOUT
+ [filesystem-urls-do-not-match-self]
+ expected: NOTRUN
+
+ [Expecting logs: ["violated-directive=script-src-elem"\]]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/content-security-policy/generic/filesystem-urls-match-filesystem.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/filesystem-urls-match-filesystem.sub.html.ini
new file mode 100644
index 0000000000..8046609a6f
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/filesystem-urls-match-filesystem.sub.html.ini
@@ -0,0 +1,4 @@
+[filesystem-urls-match-filesystem.sub.html]
+ [Expecting logs: ["PASS (1/1)"\]]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_1-script-src.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_1-script-src.html.ini
new file mode 100644
index 0000000000..82aac26be6
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_1-script-src.html.ini
@@ -0,0 +1,3 @@
+[generic-0_1-script-src.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini
new file mode 100644
index 0000000000..262edeee8d
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini
@@ -0,0 +1,3 @@
+[generic-0_10_1.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_2.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_2.html.ini
new file mode 100644
index 0000000000..f734af0392
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_2.html.ini
@@ -0,0 +1,3 @@
+[generic-0_2.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini
new file mode 100644
index 0000000000..6bcf1075f2
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini
@@ -0,0 +1,3 @@
+[generic-0_2_2.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini
new file mode 100644
index 0000000000..2fabdba4aa
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini
@@ -0,0 +1,3 @@
+[generic-0_2_3.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_8.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_8.sub.html.ini
new file mode 100644
index 0000000000..eddb62178d
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_8.sub.html.ini
@@ -0,0 +1,3 @@
+[generic-0_8.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini
new file mode 100644
index 0000000000..147f39dabe
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini
@@ -0,0 +1,3 @@
+[generic-0_8_1.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_9.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_9.sub.html.ini
new file mode 100644
index 0000000000..6a0441ec24
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_9.sub.html.ini
@@ -0,0 +1,3 @@
+[generic-0_9.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/invalid-characters-in-policy.html.ini b/testing/web-platform/meta/content-security-policy/generic/invalid-characters-in-policy.html.ini
new file mode 100644
index 0000000000..ec61b8a39f
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/invalid-characters-in-policy.html.ini
@@ -0,0 +1,3 @@
+[invalid-characters-in-policy.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/no-default-src.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/no-default-src.sub.html.ini
new file mode 100644
index 0000000000..a964f16583
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/no-default-src.sub.html.ini
@@ -0,0 +1,7 @@
+[no-default-src.sub.html]
+ expected:
+ if (os == "android") and not swgl and not fission: [OK, TIMEOUT]
+ if (os == "android") and not swgl and fission: [OK, TIMEOUT]
+ [Violation report status OK.]
+ expected:
+ if (os == "android") and not swgl: [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/policy-does-not-affect-child.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/policy-does-not-affect-child.sub.html.ini
new file mode 100644
index 0000000000..8c888e4058
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/policy-does-not-affect-child.sub.html.ini
@@ -0,0 +1,3 @@
+[policy-does-not-affect-child.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/policy-inherited-correctly-by-plznavigate.html.ini b/testing/web-platform/meta/content-security-policy/generic/policy-inherited-correctly-by-plznavigate.html.ini
new file mode 100644
index 0000000000..8d5765c174
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/policy-inherited-correctly-by-plznavigate.html.ini
@@ -0,0 +1,3 @@
+[policy-inherited-correctly-by-plznavigate.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/generic/src-trailing-dot.sub.any.js.ini b/testing/web-platform/meta/content-security-policy/generic/src-trailing-dot.sub.any.js.ini
new file mode 100644
index 0000000000..d08e00f81f
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/generic/src-trailing-dot.sub.any.js.ini
@@ -0,0 +1,18 @@
+[src-trailing-dot.sub.any.sharedworker.html]
+ [Fetch from host with trailing dot should be allowed by CSP.]
+ expected: FAIL
+
+
+[src-trailing-dot.sub.any.worker.html]
+ [Fetch from host with trailing dot should be allowed by CSP.]
+ expected: FAIL
+
+
+[src-trailing-dot.sub.any.serviceworker.html]
+ [Fetch from host with trailing dot should be allowed by CSP.]
+ expected: FAIL
+
+
+[src-trailing-dot.sub.any.html]
+ [Fetch from host with trailing dot should be allowed by CSP.]
+ expected: FAIL