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 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/content-security-policy/navigation
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
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
+