summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/document-policy/required-policy
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/document-policy/required-policy
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/document-policy/required-policy')
-rw-r--r--testing/web-platform/meta/document-policy/required-policy/__dir__.ini1
-rw-r--r--testing/web-platform/meta/document-policy/required-policy/document-policy.html.ini7
-rw-r--r--testing/web-platform/meta/document-policy/required-policy/no-document-policy.html.ini4
-rw-r--r--testing/web-platform/meta/document-policy/required-policy/required-document-policy-nested.html.ini7
-rw-r--r--testing/web-platform/meta/document-policy/required-policy/required-document-policy.html.ini14
-rw-r--r--testing/web-platform/meta/document-policy/required-policy/separate-document-policies.html.ini14
6 files changed, 47 insertions, 0 deletions
diff --git a/testing/web-platform/meta/document-policy/required-policy/__dir__.ini b/testing/web-platform/meta/document-policy/required-policy/__dir__.ini
new file mode 100644
index 0000000000..daf68383df
--- /dev/null
+++ b/testing/web-platform/meta/document-policy/required-policy/__dir__.ini
@@ -0,0 +1 @@
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/document-policy/required-policy/document-policy.html.ini b/testing/web-platform/meta/document-policy/required-policy/document-policy.html.ini
new file mode 100644
index 0000000000..d0d1140f7e
--- /dev/null
+++ b/testing/web-platform/meta/document-policy/required-policy/document-policy.html.ini
@@ -0,0 +1,7 @@
+[document-policy.html]
+ [Child frame can have a required policy independent of the parent document.]
+ expected: FAIL
+
+ [Child frame can have a required policy which is less strict than the parent document's policy.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/document-policy/required-policy/no-document-policy.html.ini b/testing/web-platform/meta/document-policy/required-policy/no-document-policy.html.ini
new file mode 100644
index 0000000000..5c225f6867
--- /dev/null
+++ b/testing/web-platform/meta/document-policy/required-policy/no-document-policy.html.ini
@@ -0,0 +1,4 @@
+[no-document-policy.html]
+ [Child frame can have an explicit required policy.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/document-policy/required-policy/required-document-policy-nested.html.ini b/testing/web-platform/meta/document-policy/required-policy/required-document-policy-nested.html.ini
new file mode 100644
index 0000000000..45d3d8e302
--- /dev/null
+++ b/testing/web-platform/meta/document-policy/required-policy/required-document-policy-nested.html.ini
@@ -0,0 +1,7 @@
+[required-document-policy-nested.html]
+ [test nested required document policy when set by intermediate nested frame]
+ expected: FAIL
+
+ [test nested required document policy when set by nested frame]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/document-policy/required-policy/required-document-policy.html.ini b/testing/web-platform/meta/document-policy/required-policy/required-document-policy.html.ini
new file mode 100644
index 0000000000..be4bc1ebd0
--- /dev/null
+++ b/testing/web-platform/meta/document-policy/required-policy/required-document-policy.html.ini
@@ -0,0 +1,14 @@
+[required-document-policy.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Any unrelated policy directives should combine with the parent's required policy.]
+ expected: FAIL
+
+ [Child frame may have a stricter policy than the parent.]
+ expected: FAIL
+
+ [Child frame with no explicit policy should have the same required policy as its parent.]
+ expected: FAIL
+
+ [Child frame with a less strict required policy should have the stricter value from the parent's policy applied.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/document-policy/required-policy/separate-document-policies.html.ini b/testing/web-platform/meta/document-policy/required-policy/separate-document-policies.html.ini
new file mode 100644
index 0000000000..21d15e73d9
--- /dev/null
+++ b/testing/web-platform/meta/document-policy/required-policy/separate-document-policies.html.ini
@@ -0,0 +1,14 @@
+[separate-document-policies.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Any unrelated policy directives should combine with the parent's required policy.]
+ expected: FAIL
+
+ [Child frame may have a stricter policy than the parent.]
+ expected: FAIL
+
+ [Child frame with no explicit policy should have the same required policy as its parent.]
+ expected: FAIL
+
+ [Child frame with a less strict required policy should have the stricter value from the parent's policy applied.]
+ expected: FAIL