summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/feature-policy
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/feature-policy')
-rw-r--r--testing/web-platform/meta/feature-policy/__dir__.ini2
-rw-r--r--testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-disabled-tentative.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-enabled-tentative.sub.html.ini5
-rw-r--r--testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-default-feature-policy.tentative.https.sub.html.ini13
-rw-r--r--testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-supported-by-feature-policy.tentative.html.ini6
-rw-r--r--testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-disabled-scrollbar-tentative.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-scrollintoview.tentative.html.ini5
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-all.https.sub.html.ini13
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-self.https.sub.html.ini59
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some-override.https.sub.html.ini8
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some.https.sub.html.ini19
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-frame-policy-disallowed-for-all.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-frame-policy-timing.https.sub.html.ini9
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-all.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-self.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-some.https.sub.html.ini8
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-header-policy-declined.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-header-policy-disallowed-for-all.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-all.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-self.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/payment-default-feature-policy.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/payment-disabled-by-feature-policy.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/payment-supported-by-feature-policy.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/permissions-policy-feature-policy-coexist.https.html.ini8
-rw-r--r--testing/web-platform/meta/feature-policy/permissions-policy-header-policy-allowed-for-self.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini8
-rw-r--r--testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html.ini8
-rw-r--r--testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/feature-policy/picture-in-picture-default-feature-policy.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/feature-policy/picture-in-picture-supported-by-feature-policy.html.ini5
-rw-r--r--testing/web-platform/meta/feature-policy/policy-extends-to-sandbox.html.ini5
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/__dir__.ini1
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/camera-reporting.https.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/encrypted-media-reporting.https.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/fullscreen-reporting.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/generic-sensor-reporting.https.html.ini2
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/geolocation-reporting.https.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/microphone-reporting.https.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/midi-reporting.https.html.ini4
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/payment-reporting.https.html.ini7
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/picture-in-picture-reporting.html.ini2
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/serial-reporting.https.html.ini2
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/sync-xhr-reporting.html.ini2
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/usb-reporting.https.html.ini2
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/vr-report-only.https.html.ini2
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/vr-reporting.https.html.ini3
-rw-r--r--testing/web-platform/meta/feature-policy/reporting/xr-reporting.https.html.ini2
52 files changed, 341 insertions, 0 deletions
diff --git a/testing/web-platform/meta/feature-policy/__dir__.ini b/testing/web-platform/meta/feature-policy/__dir__.ini
new file mode 100644
index 0000000000..9583a148bf
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/__dir__.ini
@@ -0,0 +1,2 @@
+prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.payments.request.enabled:true, dom.reporting.enabled:true, dom.reporting.featurePolicy.enabled:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true, dom.webmidi.enabled:true, dom.vr.enabled:true]
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-disabled-tentative.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-disabled-tentative.html.ini
new file mode 100644
index 0000000000..844eb6f30b
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-disabled-tentative.html.ini
@@ -0,0 +1,4 @@
+[focus-without-user-activation-disabled-tentative.html]
+ [When the policy is disabled, 'autofocus' and scripted focus do not focus the document.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-enabled-tentative.sub.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-enabled-tentative.sub.html.ini
new file mode 100644
index 0000000000..61cfadad66
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/experimental-features/focus-without-user-activation-enabled-tentative.sub.html.ini
@@ -0,0 +1,5 @@
+[focus-without-user-activation-enabled-tentative.sub.html]
+ expected: TIMEOUT
+ [When the policy is enabled, 'autofocus' and scripted focus do focus the document.]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-default-feature-policy.tentative.https.sub.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-default-feature-policy.tentative.https.sub.html.ini
new file mode 100644
index 0000000000..341602001e
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-default-feature-policy.tentative.https.sub.html.ini
@@ -0,0 +1,13 @@
+[trust-token-redemption-default-feature-policy.tentative.https.sub.html]
+ expected:
+ if tsan: [OK, FAIL]
+
+ [Default "trust-token-redemption" feature policy ["self"\] disallows cross-origin iframes.]
+ expected: FAIL
+
+ [Default "trust-token-redemption" feature policy ["self"\] allows same-origin iframes.]
+ expected: FAIL
+
+ [Default "trust-token-redemption" feature policy ["self"\] allows the top-level document.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-supported-by-feature-policy.tentative.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-supported-by-feature-policy.tentative.html.ini
new file mode 100644
index 0000000000..ec3c91c3de
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/experimental-features/trust-token-redemption-supported-by-feature-policy.tentative.html.ini
@@ -0,0 +1,6 @@
+[trust-token-redemption-supported-by-feature-policy.tentative.html]
+ disabled:
+ if tsan: https://bugzilla.mozilla.org/show_bug.cgi?1682723
+ [document.featurePolicy.features should advertise trust token redemption.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-disabled-scrollbar-tentative.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-disabled-scrollbar-tentative.html.ini
new file mode 100644
index 0000000000..7bf375b651
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-disabled-scrollbar-tentative.html.ini
@@ -0,0 +1,3 @@
+[vertical-scroll-disabled-scrollbar-tentative.html]
+ expected:
+ FAIL
diff --git a/testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-scrollintoview.tentative.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-scrollintoview.tentative.html.ini
new file mode 100644
index 0000000000..5c7cef8a8f
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/experimental-features/vertical-scroll-scrollintoview.tentative.html.ini
@@ -0,0 +1,5 @@
+[vertical-scroll-scrollintoview.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Calling 'scrollIntoView()' inside a <iframe> with 'vertical-scroll none;'will not propagate upwards.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-all.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-all.https.sub.html.ini
new file mode 100644
index 0000000000..94528cebbb
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-all.https.sub.html.ini
@@ -0,0 +1,13 @@
+[feature-policy-frame-policy-allowed-for-all.https.sub.html]
+ [Test frame policy on data: URL cross origin iframe inherit from header policy.]
+ expected: FAIL
+
+ [Test frame policy on sandboxed iframe with no allow attribute.]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe inherit from header policy.]
+ expected: FAIL
+
+ [Test frame policy on sandboxed iframe with allow="fullscreen https://www.web-platform.test:8443".]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-self.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-self.https.sub.html.ini
new file mode 100644
index 0000000000..0ef9b55615
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-self.https.sub.html.ini
@@ -0,0 +1,59 @@
+[feature-policy-frame-policy-allowed-for-self.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test frame policy on sandboxed iframe with no allow attribute.]
+ expected: FAIL
+
+ [Test frame policy on sandboxed iframe with allow="fullscreen https://www.web-platform.test:8443".]
+ expected: FAIL
+
+ [Test frame policy on data: URL origin iframe with allow = "*".]
+ expected: FAIL
+
+ [Test frame policy on data: URL origin iframe with allow = "*" and allowfullscreen.]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" and header policy = "Feature-Policy: fullscreen 'none';".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" and header policy = "Feature-Policy: fullscreen 'self';".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" and allowfullscreen.]
+ expected: FAIL
+
+ [Test frame policy on srcdoc + cross origin sandboxed iframe with allow="fullscreen".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'none';".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen *;".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
+ expected: FAIL
+
+ [Test frame policy on sandboxed iframe with allow="fullscreen".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" and header policy = "Feature-Policy: fullscreen *;".]
+ expected: FAIL
+
+ [Test frame policy on sandboxed iframe with allow="fullscreen 'src'".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "*".]
+ expected: FAIL
+
+ [Test frame policy on srcdoc sandboxed iframe with allow="fullscreen".]
+ expected: FAIL
+
+ [Test frame policy on srcdoc + same origin sandboxed iframe with allow="fullscreen".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe with allow = "*" and allowfullscreen.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some-override.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some-override.https.sub.html.ini
new file mode 100644
index 0000000000..60d87df630
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some-override.https.sub.html.ini
@@ -0,0 +1,8 @@
+[feature-policy-frame-policy-allowed-for-some-override.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test frame policy on data: URL cross origin iframe with allow = "*" and allowfullscreen.]
+ expected: FAIL
+
+ [Test frame policy on another cross origin iframe with allow = "*" and allowfullscreen.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some.https.sub.html.ini
new file mode 100644
index 0000000000..af5782be98
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some.https.sub.html.ini
@@ -0,0 +1,19 @@
+[feature-policy-frame-policy-allowed-for-some.https.sub.html]
+ [Test frame policy on data: URL cross origin iframe with allow = "*".]
+ expected: FAIL
+
+ [Test frame policy on another cross origin iframe with allow = "*".]
+ expected: FAIL
+
+ [Test frame policy on another cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
+ expected: FAIL
+
+ [Test frame policy on another cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen *;".]
+ expected: FAIL
+
+ [Test frame policy on another cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'none';".]
+ expected: FAIL
+
+ [Test frame policy on cross origin iframe inherit from header policy.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-disallowed-for-all.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-disallowed-for-all.https.sub.html.ini
new file mode 100644
index 0000000000..88201ae52d
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-disallowed-for-all.https.sub.html.ini
@@ -0,0 +1,3 @@
+[feature-policy-frame-policy-disallowed-for-all.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-timing.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-timing.https.sub.html.ini
new file mode 100644
index 0000000000..957a963a66
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-timing.https.sub.html.ini
@@ -0,0 +1,9 @@
+[feature-policy-frame-policy-timing.https.sub.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, ERROR]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [allow attr timing test diff origin]
+ expected: FAIL
+
+ [allow attr timing test same origin]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-all.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-all.https.sub.html.ini
new file mode 100644
index 0000000000..652a3d5499
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-all.https.sub.html.ini
@@ -0,0 +1,5 @@
+[feature-policy-header-policy-allowed-for-all.https.sub.html]
+ expected:
+ if (os == "linux") and debug and not fission: [OK, CRASH]
+ [Feature-Policy: fullscreen * -- test fullscreen is disallowed on cross-origin subframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-self.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-self.https.sub.html.ini
new file mode 100644
index 0000000000..f41309e6f6
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-self.https.sub.html.ini
@@ -0,0 +1,3 @@
+[feature-policy-header-policy-allowed-for-self.https.sub.html]
+ [Feature-Policy: fullscreen 'self', iframe.allow = fullscreen 'src'; -- test fullscreen is disallowed on cross-origin subframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-some.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-some.https.sub.html.ini
new file mode 100644
index 0000000000..1df930d84c
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-some.https.sub.html.ini
@@ -0,0 +1,8 @@
+[feature-policy-header-policy-allowed-for-some.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com; -- test fullscreen is disallowed on cross-origin https://www.web-platform.test:8443/feature-policy/resources/feature-policy-allowedfeatures.html subframe]
+ expected: FAIL
+
+ [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com;iframe.allow = fullscreen 'src'; -- test fullscreen is disallowed on another cross-origin subframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-declined.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-declined.https.sub.html.ini
new file mode 100644
index 0000000000..a9edc8b4dc
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-declined.https.sub.html.ini
@@ -0,0 +1,11 @@
+[feature-policy-header-policy-declined.https.sub.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com; -- test allowlist is [cross_origin, https://www.example.com\]]
+ expected: FAIL
+
+ [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com; -- test fullscreen is disallowed on cross-origin https://www.web-platform.test:8443/feature-policy/resources/feature-policy-allowedfeatures.html subframe]
+ expected: FAIL
+
+ [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com;iframe.allow = fullscreen https://www.web-platform.test:8443 -- test fullscreen is disallowed on specific cross-origin subframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-disallowed-for-all.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-disallowed-for-all.https.sub.html.ini
new file mode 100644
index 0000000000..3ee547495f
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-header-policy-disallowed-for-all.https.sub.html.ini
@@ -0,0 +1,3 @@
+[feature-policy-header-policy-disallowed-for-all.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-all.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-all.https.sub.html.ini
new file mode 100644
index 0000000000..4c9cdc632c
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-all.https.sub.html.ini
@@ -0,0 +1,11 @@
+[feature-policy-nested-header-policy-allowed-for-all.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test nested header policy with remote iframe on policy "fullscreen *"]
+ expected: FAIL
+
+ [Test nested header policy with local iframe on policy "fullscreen *"]
+ expected: FAIL
+
+ [Test nested header policy with remote iframe on policy "fullscreen 'self'"]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-self.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-self.https.sub.html.ini
new file mode 100644
index 0000000000..77ead3b701
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-self.https.sub.html.ini
@@ -0,0 +1,5 @@
+[feature-policy-nested-header-policy-allowed-for-self.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test nested header policy with local iframe on policy "fullscreen *"]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.ini
new file mode 100644
index 0000000000..6309ee0609
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.ini
@@ -0,0 +1,3 @@
+[feature-policy-nested-header-policy-disallowed-for-all.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini b/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini
new file mode 100644
index 0000000000..a261b6d8a7
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini
@@ -0,0 +1,4 @@
+[payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html]
+ disabled:
+ true: https://bugzilla.mozilla.org/show_bug.cgi?id=1721229
+
diff --git a/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute.https.sub.html.ini b/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute.https.sub.html.ini
new file mode 100644
index 0000000000..8f10ee36a1
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute.https.sub.html.ini
@@ -0,0 +1,4 @@
+[payment-allowed-by-feature-policy-attribute.https.sub.html]
+ disabled:
+ true: https://bugzilla.mozilla.org/show_bug.cgi?id=1721229
+
diff --git a/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy.https.sub.html.ini b/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy.https.sub.html.ini
new file mode 100644
index 0000000000..1c94d15f1b
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy.https.sub.html.ini
@@ -0,0 +1,3 @@
+[payment-allowed-by-feature-policy.https.sub.html]
+ disabled:
+ true: https://bugzilla.mozilla.org/show_bug.cgi?id=1721229
diff --git a/testing/web-platform/meta/feature-policy/payment-default-feature-policy.https.sub.html.ini b/testing/web-platform/meta/feature-policy/payment-default-feature-policy.https.sub.html.ini
new file mode 100644
index 0000000000..fa156fc81b
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/payment-default-feature-policy.https.sub.html.ini
@@ -0,0 +1,4 @@
+[payment-default-feature-policy.https.sub.html]
+ disabled:
+ true: https://bugzilla.mozilla.org/show_bug.cgi?id=1721229
+
diff --git a/testing/web-platform/meta/feature-policy/payment-disabled-by-feature-policy.https.sub.html.ini b/testing/web-platform/meta/feature-policy/payment-disabled-by-feature-policy.https.sub.html.ini
new file mode 100644
index 0000000000..7ac0da8cc1
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/payment-disabled-by-feature-policy.https.sub.html.ini
@@ -0,0 +1,4 @@
+[payment-disabled-by-feature-policy.https.sub.html]
+ disabled:
+ true: https://bugzilla.mozilla.org/show_bug.cgi?id=1721229
+
diff --git a/testing/web-platform/meta/feature-policy/payment-supported-by-feature-policy.tentative.html.ini b/testing/web-platform/meta/feature-policy/payment-supported-by-feature-policy.tentative.html.ini
new file mode 100644
index 0000000000..64ba9746cc
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/payment-supported-by-feature-policy.tentative.html.ini
@@ -0,0 +1,3 @@
+[payment-supported-by-feature-policy.tentative.html]
+ disabled:
+ true: https://bugzilla.mozilla.org/show_bug.cgi?id=1721229
diff --git a/testing/web-platform/meta/feature-policy/permissions-policy-feature-policy-coexist.https.html.ini b/testing/web-platform/meta/feature-policy/permissions-policy-feature-policy-coexist.https.html.ini
new file mode 100644
index 0000000000..4853de0b12
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/permissions-policy-feature-policy-coexist.https.html.ini
@@ -0,0 +1,8 @@
+[permissions-policy-feature-policy-coexist.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [When there is no conflict, Feature Policy and Permissions Policy should all be able to control each feature by themselves.]
+ expected: FAIL
+
+ [When there is conflict in Feature Policy header and Permissions Policyheader, Permissions Policy wins.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/permissions-policy-header-policy-allowed-for-self.https.sub.html.ini b/testing/web-platform/meta/feature-policy/permissions-policy-header-policy-allowed-for-self.https.sub.html.ini
new file mode 100644
index 0000000000..f8d643b094
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/permissions-policy-header-policy-allowed-for-self.https.sub.html.ini
@@ -0,0 +1,5 @@
+[permissions-policy-header-policy-allowed-for-self.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Permissions-Policy: fullscreen=self, iframe.allow = fullscreen 'src'; -- test fullscreen is disallowed on cross-origin subframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini b/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini
new file mode 100644
index 0000000000..d5c5860cfb
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini
@@ -0,0 +1,8 @@
+[picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Feature-Policy allow="picture-in-picture" allows same-origin navigation in an iframe.]
+ expected: FAIL
+
+ [Feature-Policy allow="picture-in-picture" disallows cross-origin navigation in an iframe.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html.ini b/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html.ini
new file mode 100644
index 0000000000..9e61a56b4d
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html.ini
@@ -0,0 +1,8 @@
+[picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Feature policy "picture-in-picture" can be enabled in same-origin iframe using allow="picture-in-picture" attribute]
+ expected: FAIL
+
+ [Feature policy "picture-in-picture" can be enabled in cross-origin iframe using allow="picture-in-picture" attribute]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html.ini b/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html.ini
new file mode 100644
index 0000000000..c5772f498a
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html.ini
@@ -0,0 +1,11 @@
+[picture-in-picture-allowed-by-feature-policy.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Feature-Policy header: picture-in-picture * allows the top-level document.]
+ expected: FAIL
+
+ [Feature-Policy header: picture-in-picture * allows same-origin iframes.]
+ expected: FAIL
+
+ [Feature-Policy header: picture-in-picture * allows cross-origin iframes.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/picture-in-picture-default-feature-policy.https.sub.html.ini b/testing/web-platform/meta/feature-policy/picture-in-picture-default-feature-policy.https.sub.html.ini
new file mode 100644
index 0000000000..dae1253f9d
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/picture-in-picture-default-feature-policy.https.sub.html.ini
@@ -0,0 +1,11 @@
+[picture-in-picture-default-feature-policy.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Default "picture-in-picture" feature policy [*\] allows the top-level document.]
+ expected: FAIL
+
+ [Default "picture-in-picture" feature policy [*\] allows same-origin iframes.]
+ expected: FAIL
+
+ [Default "picture-in-picture" feature policy [*\] allows cross-origin iframes.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html.ini b/testing/web-platform/meta/feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html.ini
new file mode 100644
index 0000000000..d4bb14417c
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html.ini
@@ -0,0 +1,11 @@
+[picture-in-picture-disabled-by-feature-policy.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Feature-Policy header: picture-in-picture "none" disallows cross-origin iframes.]
+ expected: FAIL
+
+ [Feature-Policy header: picture-in-picture "none" disallows same-origin iframes.]
+ expected: FAIL
+
+ [Feature-Policy header: picture-in-picture "none" disallows the top-level document.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/picture-in-picture-supported-by-feature-policy.html.ini b/testing/web-platform/meta/feature-policy/picture-in-picture-supported-by-feature-policy.html.ini
new file mode 100644
index 0000000000..c6952c9dd9
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/picture-in-picture-supported-by-feature-policy.html.ini
@@ -0,0 +1,5 @@
+[picture-in-picture-supported-by-feature-policy.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [document.featurePolicy.features should advertise picture-in-picture.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/policy-extends-to-sandbox.html.ini b/testing/web-platform/meta/feature-policy/policy-extends-to-sandbox.html.ini
new file mode 100644
index 0000000000..acd2b683ff
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/policy-extends-to-sandbox.html.ini
@@ -0,0 +1,5 @@
+[policy-extends-to-sandbox.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Feature policy treats opaque origins correctly]
+ expected: FAIL
diff --git a/testing/web-platform/meta/feature-policy/reporting/__dir__.ini b/testing/web-platform/meta/feature-policy/reporting/__dir__.ini
new file mode 100644
index 0000000000..daf68383df
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/__dir__.ini
@@ -0,0 +1 @@
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/feature-policy/reporting/camera-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/camera-reporting.https.html.ini
new file mode 100644
index 0000000000..a95f7a1a28
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/camera-reporting.https.html.ini
@@ -0,0 +1,4 @@
+[camera-reporting.https.html]
+ expected: TIMEOUT
+ [Camera Report Format]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/feature-policy/reporting/encrypted-media-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/encrypted-media-reporting.https.html.ini
new file mode 100644
index 0000000000..9d62846bbe
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/encrypted-media-reporting.https.html.ini
@@ -0,0 +1,4 @@
+[encrypted-media-reporting.https.html]
+ expected: TIMEOUT
+ [Encrypted Media report format]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/feature-policy/reporting/fullscreen-reporting.html.ini b/testing/web-platform/meta/feature-policy/reporting/fullscreen-reporting.html.ini
new file mode 100644
index 0000000000..84a5696251
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/fullscreen-reporting.html.ini
@@ -0,0 +1,4 @@
+[fullscreen-reporting.html]
+ expected: TIMEOUT
+ [Fullscreen Report Format]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/feature-policy/reporting/generic-sensor-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/generic-sensor-reporting.https.html.ini
new file mode 100644
index 0000000000..01d74c3c99
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/generic-sensor-reporting.https.html.ini
@@ -0,0 +1,2 @@
+[generic-sensor-reporting.https.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1531012
diff --git a/testing/web-platform/meta/feature-policy/reporting/geolocation-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/geolocation-reporting.https.html.ini
new file mode 100644
index 0000000000..4abf53919d
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/geolocation-reporting.https.html.ini
@@ -0,0 +1,4 @@
+[geolocation-reporting.https.html]
+ expected: TIMEOUT
+ [Geolocation Report Format]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/feature-policy/reporting/microphone-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/microphone-reporting.https.html.ini
new file mode 100644
index 0000000000..f1fcc4da4d
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/microphone-reporting.https.html.ini
@@ -0,0 +1,4 @@
+[microphone-reporting.https.html]
+ expected: TIMEOUT
+ [Microphone Report Format]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/feature-policy/reporting/midi-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/midi-reporting.https.html.ini
new file mode 100644
index 0000000000..a38b894826
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/midi-reporting.https.html.ini
@@ -0,0 +1,4 @@
+[midi-reporting.https.html]
+ expected: TIMEOUT
+ [MIDI Report Format]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/feature-policy/reporting/payment-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/payment-reporting.https.html.ini
new file mode 100644
index 0000000000..200c1d9a43
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/payment-reporting.https.html.ini
@@ -0,0 +1,7 @@
+[payment-reporting.https.html]
+ disabled:
+ if not nightly_build: https://bugzilla.mozilla.org/show_bug.cgi?id=1495301
+ max-asserts: 2
+ expected: TIMEOUT
+ [PaymentRequest Report Format]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/feature-policy/reporting/picture-in-picture-reporting.html.ini b/testing/web-platform/meta/feature-policy/reporting/picture-in-picture-reporting.html.ini
new file mode 100644
index 0000000000..9f28d275ef
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/picture-in-picture-reporting.html.ini
@@ -0,0 +1,2 @@
+[picture-in-picture-reporting.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1531012
diff --git a/testing/web-platform/meta/feature-policy/reporting/serial-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/serial-reporting.https.html.ini
new file mode 100644
index 0000000000..a4d54cb751
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/serial-reporting.https.html.ini
@@ -0,0 +1,2 @@
+[serial-reporting.https.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1531012
diff --git a/testing/web-platform/meta/feature-policy/reporting/sync-xhr-reporting.html.ini b/testing/web-platform/meta/feature-policy/reporting/sync-xhr-reporting.html.ini
new file mode 100644
index 0000000000..f0af3ee7ed
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/sync-xhr-reporting.html.ini
@@ -0,0 +1,2 @@
+[sync-xhr-reporting.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1531012
diff --git a/testing/web-platform/meta/feature-policy/reporting/usb-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/usb-reporting.https.html.ini
new file mode 100644
index 0000000000..4292f067ec
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/usb-reporting.https.html.ini
@@ -0,0 +1,2 @@
+[usb-reporting.https.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1531012
diff --git a/testing/web-platform/meta/feature-policy/reporting/vr-report-only.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/vr-report-only.https.html.ini
new file mode 100644
index 0000000000..9cbe4d3f3e
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/vr-report-only.https.html.ini
@@ -0,0 +1,2 @@
+[vr-report-only.https.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1636433
diff --git a/testing/web-platform/meta/feature-policy/reporting/vr-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/vr-reporting.https.html.ini
new file mode 100644
index 0000000000..03c168d23e
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/vr-reporting.https.html.ini
@@ -0,0 +1,3 @@
+[vr-reporting.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/feature-policy/reporting/xr-reporting.https.html.ini b/testing/web-platform/meta/feature-policy/reporting/xr-reporting.https.html.ini
new file mode 100644
index 0000000000..e878bd66f2
--- /dev/null
+++ b/testing/web-platform/meta/feature-policy/reporting/xr-reporting.https.html.ini
@@ -0,0 +1,2 @@
+[xr-reporting.https.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1531012