summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-security-policy/navigation
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/navigation
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/navigation')
-rw-r--r--testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-child-csp.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp-disallow.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp.html.ini6
-rw-r--r--testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-frame-src.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-script-src.html.ini15
5 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-child-csp.html.ini b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-child-csp.html.ini
new file mode 100644
index 0000000000..285e3b0426
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-child-csp.html.ini
@@ -0,0 +1,3 @@
+[to-javascript-parent-initiated-child-csp.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp-disallow.html.ini b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp-disallow.html.ini
new file mode 100644
index 0000000000..d0d8d37a73
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp-disallow.html.ini
@@ -0,0 +1,3 @@
+[to-javascript-parent-initiated-parent-csp-disallow.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp.html.ini b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp.html.ini
new file mode 100644
index 0000000000..d2e55d364f
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-parent-initiated-parent-csp.html.ini
@@ -0,0 +1,6 @@
+implementation-status: backlog
+[to-javascript-parent-initiated-parent-csp.html]
+ expected: TIMEOUT
+ [Should not have executed the javascript url]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-frame-src.html.ini b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-frame-src.html.ini
new file mode 100644
index 0000000000..954366431b
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-frame-src.html.ini
@@ -0,0 +1,3 @@
+[to-javascript-url-frame-src.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-script-src.html.ini b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-script-src.html.ini
new file mode 100644
index 0000000000..64cb52918b
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-script-src.html.ini
@@ -0,0 +1,15 @@
+implementation-status: backlog
+[to-javascript-url-script-src.html]
+ expected: TIMEOUT
+ [<iframe src='javascript:'> blocked without 'unsafe-inline'.]
+ expected: TIMEOUT
+
+ [<iframe> navigated to 'javascript:' blocked without 'unsafe-inline'.]
+ expected: TIMEOUT
+
+ [<iframe src='...'> with 'unsafe-inline' navigated to 'javascript:' blocked in this document]
+ expected: TIMEOUT
+
+ [<iframe src='...'> without 'unsafe-inline' navigated to 'javascript:' blocked in this document.]
+ expected: TIMEOUT
+