summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-security-policy/inheritance
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/inheritance')
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/blob-inherits-from-meta-http-equiv-with-invalid-characters.html.ini2
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/blob-url-in-main-window-self-navigate-inherits.sub.html.ini5
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/document-write-iframe.html.ini8
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/frame-src-javascript-url.html.ini5
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/history-iframe.sub.html.ini54
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/history.sub.html.ini16
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes-inherit-self.sub.html.ini12
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-history-inheritance.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-inheritance.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/inheritance-from-initiator.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/inherited-csp-list-modifications-are-local.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/javascript-url-open-in-main-window.html.ini5
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/javascript-url-srcdoc-cross-origin-iframe-inheritance.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/location-reload.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/sandboxed-data-scheme.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-blob-scheme.html.ini6
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-data-scheme.html.ini6
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/window-open-local-after-network-scheme.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/inheritance/window.html.ini3
20 files changed, 149 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/blob-inherits-from-meta-http-equiv-with-invalid-characters.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/blob-inherits-from-meta-http-equiv-with-invalid-characters.html.ini
new file mode 100644
index 0000000000..3613c43b02
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/blob-inherits-from-meta-http-equiv-with-invalid-characters.html.ini
@@ -0,0 +1,2 @@
+[blob-inherits-from-meta-http-equiv-with-invalid-characters.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/blob-url-in-main-window-self-navigate-inherits.sub.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/blob-url-in-main-window-self-navigate-inherits.sub.html.ini
new file mode 100644
index 0000000000..396fde0bdf
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/blob-url-in-main-window-self-navigate-inherits.sub.html.ini
@@ -0,0 +1,5 @@
+[blob-url-in-main-window-self-navigate-inherits.sub.html]
+ [Violation report status OK.]
+ expected:
+ if (os == "linux") and debug and not fission: ["PASS", "FAIL"]
+
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/document-write-iframe.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/document-write-iframe.html.ini
new file mode 100644
index 0000000000..6dc3fa7d5f
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/document-write-iframe.html.ini
@@ -0,0 +1,8 @@
+[document-write-iframe.html]
+ expected: TIMEOUT
+ [document.open() keeps inherited CSPs on empty iframe.]
+ expected: TIMEOUT
+
+ [document.open() does not change delivered CSPs.]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/frame-src-javascript-url.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/frame-src-javascript-url.html.ini
new file mode 100644
index 0000000000..04d6287085
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/frame-src-javascript-url.html.ini
@@ -0,0 +1,5 @@
+[frame-src-javascript-url.html]
+ expected: TIMEOUT
+ [<iframe src='javascript:...'>'s inherits policy (dynamically inserted <iframe> is blocked)]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/history-iframe.sub.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/history-iframe.sub.html.ini
new file mode 100644
index 0000000000..deafa1ca19
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/history-iframe.sub.html.ini
@@ -0,0 +1,54 @@
+[history-iframe.sub.html]
+ expected:
+ if os == "android": OK
+ if os == "win": OK
+ [OK, TIMEOUT]
+ [History navigation in iframe: "about:blank" document is navigated back from history same-origin.]
+ expected:
+ if (os == "win") and (processor == "x86"): [PASS, FAIL]
+ if (os == "win") and (processor == "x86_64"): PASS
+ if os == "mac": [PASS, TIMEOUT]
+ if os == "android": PASS
+ [PASS, FAIL, TIMEOUT]
+
+ [History navigation in iframe: "about:blank" document is navigated back from history cross-origin.]
+ expected:
+ if (os == "linux") and fission: [PASS, FAIL, TIMEOUT, NOTRUN]
+ if (os == "linux") and not fission: [PASS, TIMEOUT, NOTRUN]
+ if os == "mac": [PASS, TIMEOUT, NOTRUN]
+
+ [History navigation in iframe: blob URL document is navigated back from history same-origin.]
+ expected:
+ if os == "android": PASS
+ if os == "win": PASS
+ [PASS, NOTRUN]
+
+ [History navigation in iframe: blob URL document is navigated back from history cross-origin.]
+ expected:
+ if os == "win": PASS
+ if os == "android": PASS
+ [PASS, NOTRUN]
+
+ [History navigation in iframe: data URL document is navigated back from history same-origin.]
+ expected:
+ if os == "android": PASS
+ if os == "win": PASS
+ [PASS, NOTRUN]
+
+ [History navigation in iframe: data URL document is navigated back from history cross-origin.]
+ expected:
+ if os == "win": PASS
+ if os == "android": PASS
+ [PASS, NOTRUN]
+
+ [History navigation in iframe: srcdoc iframe is navigated back from history same-origin.]
+ expected:
+ if os == "android": PASS
+ if os == "win": PASS
+ [PASS, NOTRUN]
+
+ [History navigation in iframe: srcdoc iframe is navigated back from history cross-origin.]
+ expected:
+ if os == "win": PASS
+ if os == "android": PASS
+ [PASS, NOTRUN]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/history.sub.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/history.sub.html.ini
new file mode 100644
index 0000000000..2c2c3e8028
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/history.sub.html.ini
@@ -0,0 +1,16 @@
+[history.sub.html]
+ expected:
+ if (os == "mac") and debug: [OK, TIMEOUT]
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ [History navigation: "about:blank" document is navigated back from history same-origin.]
+ expected:
+ if (os == "android") and not debug: [FAIL, TIMEOUT]
+ if (os == "mac") and not debug: [FAIL, TIMEOUT]
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ FAIL
+
+ [History navigation: "about:blank" document is navigated back from history cross-origin.]
+ expected:
+ if (os == "mac") and not debug: [FAIL, TIMEOUT]
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ FAIL
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes-inherit-self.sub.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes-inherit-self.sub.html.ini
new file mode 100644
index 0000000000..407414902b
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes-inherit-self.sub.html.ini
@@ -0,0 +1,12 @@
+[iframe-all-local-schemes-inherit-self.sub.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [TIMEOUT, OK]
+ if (os == "win") and not debug and (processor == "x86"): [TIMEOUT, OK]
+ if os == "android": [TIMEOUT, OK]
+ [OK, TIMEOUT]
+ [<iframe>'s about:blank inherits policy.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [TIMEOUT, PASS]
+ if (os == "win") and not debug and (processor == "x86_64"): [TIMEOUT, PASS]
+ if os == "android": [TIMEOUT, PASS]
+ [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes.sub.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes.sub.html.ini
new file mode 100644
index 0000000000..59cd453268
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/iframe-all-local-schemes.sub.html.ini
@@ -0,0 +1,3 @@
+[iframe-all-local-schemes.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-history-inheritance.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-history-inheritance.html.ini
new file mode 100644
index 0000000000..6d3afa1017
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-history-inheritance.html.ini
@@ -0,0 +1,3 @@
+[iframe-srcdoc-history-inheritance.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-inheritance.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-inheritance.html.ini
new file mode 100644
index 0000000000..85ba262dfb
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/iframe-srcdoc-inheritance.html.ini
@@ -0,0 +1,3 @@
+[iframe-srcdoc-inheritance.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/inheritance-from-initiator.sub.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/inheritance-from-initiator.sub.html.ini
new file mode 100644
index 0000000000..8539210cae
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/inheritance-from-initiator.sub.html.ini
@@ -0,0 +1,3 @@
+[inheritance-from-initiator.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/inherited-csp-list-modifications-are-local.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/inherited-csp-list-modifications-are-local.html.ini
new file mode 100644
index 0000000000..7a2d2f5f79
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/inherited-csp-list-modifications-are-local.html.ini
@@ -0,0 +1,3 @@
+[inherited-csp-list-modifications-are-local.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/javascript-url-open-in-main-window.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/javascript-url-open-in-main-window.html.ini
new file mode 100644
index 0000000000..7706d419c2
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/javascript-url-open-in-main-window.html.ini
@@ -0,0 +1,5 @@
+[javascript-url-open-in-main-window.html]
+ expected: TIMEOUT
+ [Executing Javascript URL keeps enforcing previous CSPs of the document.]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/javascript-url-srcdoc-cross-origin-iframe-inheritance.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/javascript-url-srcdoc-cross-origin-iframe-inheritance.html.ini
new file mode 100644
index 0000000000..ec54ef6abb
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/javascript-url-srcdoc-cross-origin-iframe-inheritance.html.ini
@@ -0,0 +1,3 @@
+[javascript-url-srcdoc-cross-origin-iframe-inheritance.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/location-reload.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/location-reload.html.ini
new file mode 100644
index 0000000000..6ab124bed1
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/location-reload.html.ini
@@ -0,0 +1,3 @@
+[location-reload.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/sandboxed-data-scheme.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/sandboxed-data-scheme.html.ini
new file mode 100644
index 0000000000..514f15d364
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/sandboxed-data-scheme.html.ini
@@ -0,0 +1,3 @@
+[sandboxed-data-scheme.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-blob-scheme.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-blob-scheme.html.ini
new file mode 100644
index 0000000000..bb8a4353b6
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-blob-scheme.html.ini
@@ -0,0 +1,6 @@
+[unsandboxed-blob-scheme.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Violation report status OK.]
+ expected:
+ if (processor == "x86") and debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-data-scheme.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-data-scheme.html.ini
new file mode 100644
index 0000000000..3981a2e150
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/unsandboxed-data-scheme.html.ini
@@ -0,0 +1,6 @@
+[unsandboxed-data-scheme.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Violation report status OK.]
+ expected:
+ if (os == "linux") and debug and fission and not swgl: [PASS, FAIL]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/window-open-local-after-network-scheme.sub.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/window-open-local-after-network-scheme.sub.html.ini
new file mode 100644
index 0000000000..35b71e3bae
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/window-open-local-after-network-scheme.sub.html.ini
@@ -0,0 +1,3 @@
+[window-open-local-after-network-scheme.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/inheritance/window.html.ini b/testing/web-platform/meta/content-security-policy/inheritance/window.html.ini
new file mode 100644
index 0000000000..a51d787ed9
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/inheritance/window.html.ini
@@ -0,0 +1,3 @@
+[window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]