summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-security-policy/child-src
diff options
context:
space:
mode:
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]