summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-security-policy/child-src
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/meta/content-security-policy/child-src
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/child-src')
-rw-r--r--testing/web-platform/meta/content-security-policy/child-src/child-src-blocked.sub.html.ini4
-rw-r--r--testing/web-platform/meta/content-security-policy/child-src/child-src-conflicting-frame-src.sub.html.ini5
-rw-r--r--testing/web-platform/meta/content-security-policy/child-src/child-src-cross-origin-load.sub.html.ini6
-rw-r--r--testing/web-platform/meta/content-security-policy/child-src/child-src-redirect-blocked.sub.html.ini4
-rw-r--r--testing/web-platform/meta/content-security-policy/child-src/child-src-worker-allowed.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/child-src/child-src-worker-blocked.sub.html.ini3
6 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/child-src/child-src-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/child-src/child-src-blocked.sub.html.ini
new file mode 100644
index 0000000000..71e9b47a15
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/child-src/child-src-blocked.sub.html.ini
@@ -0,0 +1,4 @@
+[child-src-blocked.sub.html]
+ [Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"\]]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/content-security-policy/child-src/child-src-conflicting-frame-src.sub.html.ini b/testing/web-platform/meta/content-security-policy/child-src/child-src-conflicting-frame-src.sub.html.ini
new file mode 100644
index 0000000000..d58fbf283e
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/child-src/child-src-conflicting-frame-src.sub.html.ini
@@ -0,0 +1,5 @@
+[child-src-conflicting-frame-src.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"\]]
+ expected: FAIL
diff --git a/testing/web-platform/meta/content-security-policy/child-src/child-src-cross-origin-load.sub.html.ini b/testing/web-platform/meta/content-security-policy/child-src/child-src-cross-origin-load.sub.html.ini
new file mode 100644
index 0000000000..efa7bad60d
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/child-src/child-src-cross-origin-load.sub.html.ini
@@ -0,0 +1,6 @@
+[child-src-cross-origin-load.sub.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, ERROR]
+ ERROR
+ [Navigation in iframe not allowed by child-src]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/content-security-policy/child-src/child-src-redirect-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/child-src/child-src-redirect-blocked.sub.html.ini
new file mode 100644
index 0000000000..7d5eaadc5a
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/child-src/child-src-redirect-blocked.sub.html.ini
@@ -0,0 +1,4 @@
+[child-src-redirect-blocked.sub.html]
+ [Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"\]]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-allowed.sub.html.ini b/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-allowed.sub.html.ini
new file mode 100644
index 0000000000..611439ee07
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-allowed.sub.html.ini
@@ -0,0 +1,3 @@
+[child-src-worker-allowed.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-blocked.sub.html.ini
new file mode 100644
index 0000000000..12c81a1dae
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-blocked.sub.html.ini
@@ -0,0 +1,3 @@
+[child-src-worker-blocked.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]