summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/compute-pressure/permissions-policy
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/compute-pressure/permissions-policy
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/compute-pressure/permissions-policy')
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute-redirect-on-load.https.html.ini3
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute.https.html.ini6
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy.https.html.ini12
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-on-self-origin-by-permissions-policy.https.html.ini8
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-default-permissions-policy.https.html.ini5
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-disabled-by-permissions-policy.https.html.ini8
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-supported-by-permissions-policy.html.ini3
7 files changed, 45 insertions, 0 deletions
diff --git a/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute-redirect-on-load.https.html.ini b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute-redirect-on-load.https.html.ini
new file mode 100644
index 0000000000..ae1eb4b10a
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute-redirect-on-load.https.html.ini
@@ -0,0 +1,3 @@
+[compute-pressure-allowed-by-permissions-policy-attribute-redirect-on-load.https.html]
+ [permissions policy allow="compute-pressure" allows same-origin navigation in an iframe.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute.https.html.ini b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute.https.html.ini
new file mode 100644
index 0000000000..feb3551409
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy-attribute.https.html.ini
@@ -0,0 +1,6 @@
+[compute-pressure-allowed-by-permissions-policy-attribute.https.html]
+ [permissions policy "compute-pressure" can be enabled in same-origin iframe using allow="compute-pressure" attribute]
+ expected: FAIL
+
+ [permissions policy "compute-pressure" can be enabled in cross-origin iframe using allow="compute-pressure" attribute]
+ expected: FAIL
diff --git a/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy.https.html.ini b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy.https.html.ini
new file mode 100644
index 0000000000..9000d93caa
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy.https.html.ini
@@ -0,0 +1,12 @@
+[compute-pressure-allowed-by-permissions-policy.https.html]
+ [permissions policy header "compute-pressure=*" allows the top-level document.]
+ expected: FAIL
+
+ [permissions policy header "compute-pressure=*" allows same-origin iframes.]
+ expected: FAIL
+
+ [permissions policy header "compute-pressure=*" allows cross-origin iframes with allow="compute-pressure" attribute.]
+ expected: FAIL
+
+ [$Inherited permissions policy header "compute-pressure=*" allows dedicated workers.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-on-self-origin-by-permissions-policy.https.html.ini b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-on-self-origin-by-permissions-policy.https.html.ini
new file mode 100644
index 0000000000..ab282ff1fc
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-on-self-origin-by-permissions-policy.https.html.ini
@@ -0,0 +1,8 @@
+[compute-pressure-allowed-on-self-origin-by-permissions-policy.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [permissions policy header "compute-pressure=self" allows the top-level document.]
+ expected: FAIL
+
+ [permissions policy header "compute-pressure=self" allows same-origin iframes.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-default-permissions-policy.https.html.ini b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-default-permissions-policy.https.html.ini
new file mode 100644
index 0000000000..f884c52363
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-default-permissions-policy.https.html.ini
@@ -0,0 +1,5 @@
+[compute-pressure-default-permissions-policy.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Default "compute-pressure" permissions policy allows same-origin iframes.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-disabled-by-permissions-policy.https.html.ini b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-disabled-by-permissions-policy.https.html.ini
new file mode 100644
index 0000000000..0e19753c64
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-disabled-by-permissions-policy.https.html.ini
@@ -0,0 +1,8 @@
+[compute-pressure-disabled-by-permissions-policy.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [permissions policy header "compute-pressure=()" disallows the top-level document.]
+ expected: FAIL
+
+ [$Inherited Permissions-Policy header compute-pressure=() disallows dedicated workers.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-supported-by-permissions-policy.html.ini b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-supported-by-permissions-policy.html.ini
new file mode 100644
index 0000000000..fd658dd56c
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-supported-by-permissions-policy.html.ini
@@ -0,0 +1,3 @@
+[compute-pressure-supported-by-permissions-policy.html]
+ [document.featurePolicy.features should advertise compute-pressure.]
+ expected: FAIL