Bug 1390801 - FeaturePolicy - part 3 - Enabling WPTs, r=ckerschb

This commit is contained in:
Andrea Marchesini 2018-10-01 08:09:44 +02:00
Родитель 4be054a731
Коммит 999343a4f0
16 изменённых файлов: 8 добавлений и 688 удалений

Просмотреть файл

@ -99,7 +99,7 @@ function test_iframe_without_allow() {
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");

Просмотреть файл

@ -1 +1,2 @@
prefs: [dom.security.featurePolicy.enabled:true]
lsan-allowed: []

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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';".]
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';".]
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 *;".]
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';".]
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.]
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.]
[Test frame policy on another cross origin iframe with allow = "*".]
expected: FAIL
[Test frame policy on cross origin iframe with allow = "'self'" and allowfullscreen.]
[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 = "'self'" and allowfullscreen.]
[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 = "'none'" 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 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.]
[Test frame policy on another cross origin iframe with allow = "*" and allowfullscreen.]
expected: FAIL

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -2,18 +2,9 @@
[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
@ -29,36 +20,18 @@
[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

Просмотреть файл

@ -14,12 +14,6 @@
[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

Просмотреть файл

@ -2,9 +2,6 @@
[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