From 1dd6a5d98c6e763188ebf451d95e6b2299aed000 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Mon, 8 Jul 2019 08:47:30 +0000 Subject: [PATCH] Bug 1514296 - FeaturePolicy - WPT fixed, r=ckerschb Differential Revision: https://phabricator.services.mozilla.com/D35803 --HG-- extra : moz-landing-system : lando --- ...orted-by-feature-policy.tentative.html.ini | 4 - ...led-violation-report-js-tentative.html.ini | 3 - ...lation-report-keyframes-tentative.html.ini | 4 - .../lazyload-enabled-tentative.sub.html.ini | 1 - ...-propagation-to-auxiliary-context.html.ini | 2 + ...ndbox-policies-in-allow-attribute.html.ini | 3 + ...-policy-allowed-for-all.https.sub.html.ini | 235 ------------- ...policy-allowed-for-self.https.sub.html.ini | 252 +------------- ...policy-allowed-for-some.https.sub.html.ini | 320 +----------------- ...licy-disallowed-for-all.https.sub.html.ini | 235 ------------- ...-policy-allowed-for-all.https.sub.html.ini | 16 - ...policy-allowed-for-self.https.sub.html.ini | 16 - ...policy-allowed-for-some.https.sub.html.ini | 19 -- ...-header-policy-declined.https.sub.html.ini | 22 -- ...licy-disallowed-for-all.https.sub.html.ini | 16 - ...-policy-allowed-for-all.https.sub.html.ini | 19 -- ...policy-allowed-for-self.https.sub.html.ini | 19 -- ...licy-disallowed-for-all.https.sub.html.ini | 19 -- .../feature-policy/idlharness.window.js.ini | 31 -- ...orted-by-feature-policy.tentative.html.ini | 3 - ...ensor-supported-by-feature-policy.html.ini | 4 - .../meta/geolocation-sensor/__dir__.ini | 1 + ...oplay-supported-by-feature-policy.html.ini | 4 - ...tream-supported-by-feature-policy.html.ini | 7 - ...webvr-supported-by-feature-policy.html.ini | 4 - 25 files changed, 10 insertions(+), 1249 deletions(-) delete mode 100644 testing/web-platform/meta/encrypted-media/encrypted-media-supported-by-feature-policy.tentative.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-frame-policy-allowed-for-all.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-frame-policy-disallowed-for-all.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-all.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-self.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-header-policy-allowed-for-some.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-header-policy-disallowed-for-all.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-all.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-allowed-for-self.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/feature-policy-nested-header-policy-disallowed-for-all.https.sub.html.ini delete mode 100644 testing/web-platform/meta/feature-policy/idlharness.window.js.ini delete mode 100644 testing/web-platform/meta/geolocation-sensor/GeolocationSensor-supported-by-feature-policy.html.ini create mode 100644 testing/web-platform/meta/geolocation-sensor/__dir__.ini delete mode 100644 testing/web-platform/meta/html/semantics/embedded-content/media-elements/autoplay-supported-by-feature-policy.html.ini delete mode 100644 testing/web-platform/meta/mediacapture-streams/MediaStream-supported-by-feature-policy.html.ini diff --git a/testing/web-platform/meta/encrypted-media/encrypted-media-supported-by-feature-policy.tentative.html.ini b/testing/web-platform/meta/encrypted-media/encrypted-media-supported-by-feature-policy.tentative.html.ini deleted file mode 100644 index 95961c01f4ab..000000000000 --- a/testing/web-platform/meta/encrypted-media/encrypted-media-supported-by-feature-policy.tentative.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[encrypted-media-supported-by-feature-policy.tentative.html] - [document.featurePolicy.features should advertise encrypted-media.] - expected: FAIL - diff --git a/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.ini index 499f8eeb2149..5474dee81112 100644 --- a/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.ini +++ b/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.ini @@ -9,6 +9,3 @@ [Verify that when 'layout-animations' is disabled, an 'element.animate' API including a keyframe that uses a blocked property generates violation report (inline scripts).] expected: NOTRUN - [Verify 'layout-animations' is not in document's feature list.] - expected: FAIL - diff --git a/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.ini index 2517c9015cb0..d6790044f23f 100644 --- a/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.ini +++ b/testing/web-platform/meta/feature-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.ini @@ -5,7 +5,3 @@ [Verify that when 'layout-animations' is disabled, a keyframes which includes a blocked property generates violation report.] expected: TIMEOUT - - [Sanity-check: 'layout-animations' is not in document's feature list.] - expected: FAIL - diff --git a/testing/web-platform/meta/feature-policy/experimental-features/lazyload/lazyload-enabled-tentative.sub.html.ini b/testing/web-platform/meta/feature-policy/experimental-features/lazyload/lazyload-enabled-tentative.sub.html.ini index e017d8764522..176beffd095e 100644 --- a/testing/web-platform/meta/feature-policy/experimental-features/lazyload/lazyload-enabled-tentative.sub.html.ini +++ b/testing/web-platform/meta/feature-policy/experimental-features/lazyload/lazyload-enabled-tentative.sub.html.ini @@ -10,4 +10,3 @@ [Sanity-check: Contents do not load immediately (no eager-loading) when the loading attribute is 'lazy' and frame is in viewport.] expected: FAIL - diff --git a/testing/web-platform/meta/feature-policy/feature-policy-for-sandbox/feature-propagation-to-auxiliary-context.html.ini b/testing/web-platform/meta/feature-policy/feature-policy-for-sandbox/feature-propagation-to-auxiliary-context.html.ini index 30b8aef716d8..b2f6c00f3da4 100644 --- a/testing/web-platform/meta/feature-policy/feature-policy-for-sandbox/feature-propagation-to-auxiliary-context.html.ini +++ b/testing/web-platform/meta/feature-policy/feature-policy-for-sandbox/feature-propagation-to-auxiliary-context.html.ini @@ -2,3 +2,5 @@ [feature-propagation-to-auxiliary-context] expected: FAIL + [Verify feature policies are inherited by the auxiliary browsing context if opened from a non-sandboxed same-origin