summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/font-access/permissions-policy
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/font-access/permissions-policy')
-rw-r--r--testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini7
-rw-r--r--testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute.https.sub.html.ini7
-rw-r--r--testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy.https.sub.html.ini10
-rw-r--r--testing/web-platform/meta/font-access/permissions-policy/local-fonts-default-permissions-policy.https.sub.html.ini10
-rw-r--r--testing/web-platform/meta/font-access/permissions-policy/local-fonts-disabled-by-permissions-policy.https.sub.html.ini10
-rw-r--r--testing/web-platform/meta/font-access/permissions-policy/local-fonts-supported-by-permissions-policy.html.ini3
6 files changed, 47 insertions, 0 deletions
diff --git a/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini
new file mode 100644
index 0000000000..a7c6b595e0
--- /dev/null
+++ b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini
@@ -0,0 +1,7 @@
+[local-fonts-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html]
+ expected: TIMEOUT
+ [permissions policy allow="local-fonts" allows same-origin navigation in an iframe.]
+ expected: TIMEOUT
+
+ [permissions policy allow="local-fonts" disallows cross-origin navigation in an iframe.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute.https.sub.html.ini b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute.https.sub.html.ini
new file mode 100644
index 0000000000..8d670d7c8f
--- /dev/null
+++ b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy-attribute.https.sub.html.ini
@@ -0,0 +1,7 @@
+[local-fonts-allowed-by-permissions-policy-attribute.https.sub.html]
+ expected: TIMEOUT
+ [permissions policy "local-fonts" can be enabled in same-origin iframe using allow="local-fonts" attribute]
+ expected: TIMEOUT
+
+ [permissions policy "local-fonts" can be enabled in cross-origin iframe using allow="local-fonts" attribute]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy.https.sub.html.ini
new file mode 100644
index 0000000000..ae36cec5cb
--- /dev/null
+++ b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-allowed-by-permissions-policy.https.sub.html.ini
@@ -0,0 +1,10 @@
+[local-fonts-allowed-by-permissions-policy.https.sub.html]
+ expected: TIMEOUT
+ [local-fonts-allowed-by-permissions-policy]
+ expected: FAIL
+
+ [permissions policy header: local-fonts * allows same-origin iframes.]
+ expected: TIMEOUT
+
+ [permissions policy header: local-fonts * disallows cross-origin iframes.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/font-access/permissions-policy/local-fonts-default-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-default-permissions-policy.https.sub.html.ini
new file mode 100644
index 0000000000..677ca3339a
--- /dev/null
+++ b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-default-permissions-policy.https.sub.html.ini
@@ -0,0 +1,10 @@
+[local-fonts-default-permissions-policy.https.sub.html]
+ expected: TIMEOUT
+ [local-fonts-default-permissions-policy]
+ expected: FAIL
+
+ [Default "local-fonts" permissions policy ["self"\] allows same-origin iframes.]
+ expected: TIMEOUT
+
+ [Default "local-fonts" permissions policy ["self"\] disallows cross-origin iframes.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/font-access/permissions-policy/local-fonts-disabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-disabled-by-permissions-policy.https.sub.html.ini
new file mode 100644
index 0000000000..dc9c6eb905
--- /dev/null
+++ b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-disabled-by-permissions-policy.https.sub.html.ini
@@ -0,0 +1,10 @@
+[local-fonts-disabled-by-permissions-policy.https.sub.html]
+ expected: TIMEOUT
+ [local-fonts-disabled-by-permissions-policy]
+ expected: FAIL
+
+ [permissions policy header: "local-fonts=()" disallows same-origin iframes.]
+ expected: TIMEOUT
+
+ [permissions policy header: "local-fonts=()" disallows cross-origin iframes.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/font-access/permissions-policy/local-fonts-supported-by-permissions-policy.html.ini b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-supported-by-permissions-policy.html.ini
new file mode 100644
index 0000000000..dcc7d29574
--- /dev/null
+++ b/testing/web-platform/meta/font-access/permissions-policy/local-fonts-supported-by-permissions-policy.html.ini
@@ -0,0 +1,3 @@
+[local-fonts-supported-by-permissions-policy.html]
+ [document.featurePolicy.features should advertise local-fonts.]
+ expected: FAIL