Bug 1390801 - FeaturePolicy - part 3 - Enabling WPTs, r=ckerschb
authorAndrea Marchesini <amarchesini@mozilla.com>
Mon, 01 Oct 2018 08:09:44 +0200
changeset 494694 15516085ee089c2d8411ed934893260e28b7a553
parent 494693 8edf2b229c9c3f51f15e33169affd1e733043664
child 494695 6b0cb8668a09c92410b1674ca7c91984ea98ed06
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersckerschb
bugs1390801
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1390801 - FeaturePolicy - part 3 - Enabling WPTs, r=ckerschb
dom/security/featurepolicy/test/mochitest/test_parser.html
testing/web-platform/meta/feature-policy/__dir__.ini
testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-all.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-self.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-some.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-frame-policy-disallowed-for-all.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-all.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-self.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-some.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-header-policy-disallowed-for-all.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-all.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-self.https.sub.html.ini
testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.ini
testing/web-platform/meta/feature-policy/idlharness.window.js.ini
testing/web-platform/meta/feature-policy/payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini
testing/web-platform/meta/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini
--- a/dom/security/featurepolicy/test/mochitest/test_parser.html
+++ b/dom/security/featurepolicy/test/mochitest/test_parser.html
@@ -94,17 +94,17 @@ function test_iframe_without_allow() {
   ok(!ifr.policy.allowsFeature("vr", location.origin), "Vibrate is disabled for self");
   ok(!ifr.policy.allowsFeature("vr", "http://foo.bar"), "Vibrate is disabled for foo.bar");
   allowed = ifr.policy.getAllowlistForFeature("vr");
   is(allowed.length, 0, "No allowlist for vr");
 
   ok(ifr.policy.allowedFeatures().includes("camera"), "Camera is allowed");
   ok(ifr.policy.allowedFeatures().includes("geolocation"), "Geolocation is allowed");
   // microphone is disabled for this origin
-  ok(!ifr.policy.allowedFeatures().ncludes("microphone"), "microphone is not allowed");
+  ok(!ifr.policy.allowedFeatures().includes("microphone"), "microphone is not allowed");
   // vr is disabled everywhere.
   ok(!ifr.policy.allowedFeatures().includes("vr"), "VR is not allowed");
 
   next();
 }
 
 function test_iframe_with_allow() {
   info("Checking HTMLIFrameElement.policy");
--- a/testing/web-platform/meta/feature-policy/__dir__.ini
+++ b/testing/web-platform/meta/feature-policy/__dir__.ini
@@ -1,1 +1,2 @@
+prefs: [dom.security.featurePolicy.enabled:true]
 lsan-allowed: []
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-all.https.sub.html.ini
+++ /dev/null
@@ -1,127 +0,0 @@
-[feature-policy-frame-policy-allowed-for-all.https.sub.html]
-  [Test frame policy on same origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on same 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".]
-    expected: FAIL
-
-  [Test frame policy on same 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 *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same 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 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same 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 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 same 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 header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same 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" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" 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 allowfullscreen.]
-    expected: FAIL
-
--- 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
@@ -1,139 +1,34 @@
 [feature-policy-frame-policy-allowed-for-self.https.sub.html]
-  [Test frame policy on same origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*".]
+  [Test frame policy on sandboxed iframe with no allow attribute.]
     expected: FAIL
 
   [Test frame policy on cross origin iframe with allow = "*".]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on same 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".]
     expected: FAIL
 
-  [Test frame policy on same 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 *;".]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
   [Test frame policy on cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
     expected: FAIL
 
-  [Test frame policy on same 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 'none';".]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same 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 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 same 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 header policy = "Feature-Policy: fullscreen 'self';".]
     expected: FAIL
 
-  [Test frame policy on same 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" and header policy = "Feature-Policy: fullscreen 'none';".]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "*" and allowfullscreen.]
-    expected: FAIL
-
   [Test frame policy on cross origin iframe with allow = "*" and allowfullscreen.]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" 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 allowfullscreen.]
     expected: FAIL
 
-  [Test frame policy on sandboxed iframe with no allow attribute.]
-    expected: FAIL
-
-  [Test frame policy on sandboxed iframe with allow="fullscreen".]
-    expected: FAIL
-
-  [Test frame policy on sandboxed iframe with allow="fullscreen 'src'".]
-    expected: FAIL
-
-  [Test frame policy on sandboxed iframe with allow="fullscreen https://www.web-platform.test:8443".]
-    expected: FAIL
-
--- 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
@@ -1,190 +1,28 @@
 [feature-policy-frame-policy-allowed-for-some.https.sub.html]
-  [Test frame policy on same origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "*".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on same 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".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com".]
-    expected: FAIL
-
-  [Test frame policy on same 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 *;".]
-    expected: FAIL
-
   [Test frame policy on another cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen *;".]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on 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 'self';".]
     expected: FAIL
 
-  [Test frame policy on same 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 'none';".]
-    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 same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
+  [Test frame policy on another cross origin iframe with allow = "*" and allowfullscreen.]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
+  [Test frame policy on another cross origin iframe with allow = "*".]
     expected: FAIL
 
-  [Test frame policy on another cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same 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 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 another cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" and header policy = "Feature-Policy: fullscreen *;".]
+  [Test frame policy on another cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen *;".]
     expected: FAIL
 
-  [Test frame policy on same 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 header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" and header policy = "Feature-Policy: fullscreen 'self';".]
+  [Test frame policy on another cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
     expected: FAIL
 
-  [Test frame policy on same 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" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on another 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 same origin iframe with allow = "*" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*" and allowfullscreen.]
+  [Test frame policy on another cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'none';".]
     expected: FAIL
 
   [Test frame policy on another cross origin iframe with allow = "*" and allowfullscreen.]
     expected: FAIL
 
-  [Test frame policy on same origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" 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 allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on another cross origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" and allowfullscreen.]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-frame-policy-disallowed-for-all.https.sub.html.ini
+++ /dev/null
@@ -1,127 +0,0 @@
-[feature-policy-frame-policy-disallowed-for-all.https.sub.html]
-  [Test frame policy on same origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe inherit from header policy.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'".]
-    expected: FAIL
-
-  [Test frame policy on same 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".]
-    expected: FAIL
-
-  [Test frame policy on same 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 *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same 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 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen *;".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same 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 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 same 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 header policy = "Feature-Policy: fullscreen 'self';".]
-    expected: FAIL
-
-  [Test frame policy on same 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" and header policy = "Feature-Policy: fullscreen 'none';".]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "*" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "*" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'self'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on cross origin iframe with allow = "'none'" and allowfullscreen.]
-    expected: FAIL
-
-  [Test frame policy on same origin iframe with allow = "'self' https://www.web-platform.test:8443 https://www.example.com" 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 allowfullscreen.]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-all.https.sub.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[feature-policy-header-policy-allowed-for-all.https.sub.html]
-  [Feature-Policy: fullscreen *NaN]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen * -- test fullscreen is allowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen * -- test fullscreen is allowed on cross-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen *, iframe.allow = fullscreen 'self'; -- test fullscreen is allowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen *, iframe.allow = fullscreen 'self'; -- test fullscreen is disallowed on cross-origin subframe]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-self.https.sub.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[feature-policy-header-policy-allowed-for-self.https.sub.html]
-  [Feature-Policy: fullscreen 'self' -- test allowlist is [same_origin\]]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'self' -- test fullscreen is allowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'self' -- test fullscreen is disallowed on cross-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'self', iframe.allow = fullscreen 'src'; -- test fullscreen is allowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'self', iframe.allow = fullscreen 'src'; -- test fullscreen is allowed on cross-origin subframe]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-some.https.sub.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[feature-policy-header-policy-allowed-for-some.https.sub.html]
-  [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com; -- test allowlist is [same_origin, 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 allowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com; -- test fullscreen is allowed 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; -- test fullscreen is disallowed on cross-origin https://www1.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 'none'; -- test fullscreen is disallowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'self' https://www.web-platform.test:8443 https://www.example.com;iframe.allow = fullscreen 'none'; -- test fullscreen is disallowed on cross-origin subframe]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-header-policy-disallowed-for-all.https.sub.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[feature-policy-header-policy-disallowed-for-all.https.sub.html]
-  [Feature-Policy: fullscreen 'none' -- test allowlist is [\]]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'none' -- test fullscreen is disallowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'none' -- test fullscreen is disallowed on cross-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'none', iframe.allow = fullscreen 'src'; -- test fullscreen is disallowed on same-origin subframe]
-    expected: FAIL
-
-  [Feature-Policy: fullscreen 'none', iframe.allow = fullscreen 'src'; -- test fullscreen is disallowed on cross-origin subframe]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-all.https.sub.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[feature-policy-nested-header-policy-allowed-for-all.https.sub.html]
-  [Test nested header policy with local iframe on policy "fullscreen *"]
-    expected: FAIL
-
-  [Test nested header policy with local iframe on policy "fullscreen 'self'"]
-    expected: FAIL
-
-  [Test nested header policy with local iframe on policy "fullscreen 'none'"]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen *"]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen 'self'"]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen 'none'"]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-self.https.sub.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[feature-policy-nested-header-policy-allowed-for-self.https.sub.html]
-  [Test nested header policy with local iframe on policy "fullscreen *"]
-    expected: FAIL
-
-  [Test nested header policy with local iframe on policy "fullscreen 'self'"]
-    expected: FAIL
-
-  [Test nested header policy with local iframe on policy "fullscreen 'none'"]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen *"]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen 'self'"]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen 'none'"]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[feature-policy-nested-header-policy-disallowed-for-all.https.sub.html]
-  [Test nested header policy with local iframe on policy "fullscreen *".]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen *".]
-    expected: FAIL
-
-  [Test nested header policy with local iframe on policy "fullscreen 'self'".]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen 'self'".]
-    expected: FAIL
-
-  [Test nested header policy with local iframe on policy "fullscreen 'none'".]
-    expected: FAIL
-
-  [Test nested header policy with remote iframe on policy "fullscreen 'none'".]
-    expected: FAIL
-
--- a/testing/web-platform/meta/feature-policy/idlharness.window.js.ini
+++ b/testing/web-platform/meta/feature-policy/idlharness.window.js.ini
@@ -1,64 +1,37 @@
 [idlharness.window.html]
   [FeaturePolicyViolationReportBody interface: attribute columnNumber]
     expected: FAIL
 
-  [HTMLIFrameElement interface: attribute policy]
-    expected: FAIL
-
-  [Stringification of document.policy]
-    expected: FAIL
-
   [FeaturePolicyViolationReportBody interface: attribute sourceFile]
     expected: FAIL
 
-  [Policy interface: document.policy must inherit property "getAllowlistForFeature(DOMString)" with the proper type]
-    expected: FAIL
-
   [FeaturePolicyViolationReportBody interface object name]
     expected: FAIL
 
   [FeaturePolicyViolationReportBody interface: existence and properties of interface prototype object's @@unscopables property]
     expected: FAIL
 
   [FeaturePolicyViolationReportBody interface object length]
     expected: FAIL
 
   [FeaturePolicyViolationReportBody interface: attribute featureId]
     expected: FAIL
 
   [FeaturePolicyViolationReportBody interface: existence and properties of interface prototype object's "constructor" property]
     expected: FAIL
 
-  [Policy interface: document.policy must inherit property "allowedFeatures()" with the proper type]
-    expected: FAIL
-
   [FeaturePolicyViolationReportBody interface: attribute lineNumber]
     expected: FAIL
 
   [FeaturePolicyViolationReportBody interface: existence and properties of interface prototype object]
     expected: FAIL
 
-  [Policy interface: calling allowsFeature(DOMString, DOMString) on document.policy with too few arguments must throw TypeError]
-    expected: FAIL
-
-  [Policy interface: document.policy must inherit property "allowsFeature(DOMString, DOMString)" with the proper type]
-    expected: FAIL
-
   [FeaturePolicyViolationReportBody interface: attribute disposition]
     expected: FAIL
 
   [FeaturePolicyViolationReportBody interface: existence and properties of interface object]
     expected: FAIL
 
-  [Document interface: document must inherit property "policy" with the proper type]
-    expected: FAIL
-
-  [Policy interface: calling getAllowlistForFeature(DOMString) on document.policy with too few arguments must throw TypeError]
-    expected: FAIL
-
-  [Document interface: attribute policy]
-    expected: FAIL
-
   [FeaturePolicyViolationReportBody interface: attribute message]
     expected: FAIL
 
--- 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
@@ -9,17 +9,11 @@
     expected: FAIL
 
   [Feature-Policy allow="payment" allowpaymentrequest=true disallows cross-origin relocation.]
     expected: FAIL
 
   [Feature-Policy allow="payment" allows same-origin navigation in an iframe.]
     expected: FAIL
 
-  [Feature-Policy allow="payment" disallows cross-origin navigation in an iframe.]
-    expected: FAIL
-
   [Feature-Policy allow="payment" allowpaymentrequest=true allows same-origin navigation in an iframe.]
     expected: FAIL
 
-  [Feature-Policy allow="payment" allowpaymentrequest=true disallows cross-origin navigation in an iframe.]
-    expected: FAIL
-
--- 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
@@ -1,10 +1,7 @@
 [picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html]
   [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
-
   [Untitled]
     expected: FAIL