summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/compute-pressure/permissions-policy
diff options
context:
space:
mode:
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.ini9
-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.ini5
-rw-r--r--testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-supported-by-permissions-policy.html.ini3
7 files changed, 39 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..cbed86f841
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-allowed-by-permissions-policy.https.html.ini
@@ -0,0 +1,9 @@
+[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
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..3f2bfb819a
--- /dev/null
+++ b/testing/web-platform/meta/compute-pressure/permissions-policy/compute-pressure-disabled-by-permissions-policy.https.html.ini
@@ -0,0 +1,5 @@
+[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
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