Bug 1497141 - FeaturePolicy: camera, microphone - WPTs, r=jib
authorAndrea Marchesini <amarchesini@mozilla.com>
Wed, 10 Oct 2018 16:54:18 +0200
changeset 496299 e8121fadb5b840950624f0429c370d19f07a61cc
parent 496298 a3f04193768a01d9dbbfa499e208e37717a4347e
child 496300 c2dd39bde2cc1b5bbbd48a43a7ba616152159777
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)
reviewersjib
bugs1497141
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 1497141 - FeaturePolicy: camera, microphone - WPTs, r=jib
testing/web-platform/meta/mediacapture-streams/MediaStream-default-feature-policy.https.html.ini
testing/web-platform/meta/mediacapture-streams/__dir__.ini
--- a/testing/web-platform/meta/mediacapture-streams/MediaStream-default-feature-policy.https.html.ini
+++ b/testing/web-platform/meta/mediacapture-streams/MediaStream-default-feature-policy.https.html.ini
@@ -1,39 +1,21 @@
 [MediaStream-default-feature-policy.https.sub.html]
   [Default "microphone" feature policy ["self"\] disallows cross-origin iframes.]
     expected: FAIL
 
-  [Feature policy "microphone" can be enabled in cross-origin iframes using "allow" attribute.]
-    expected: FAIL
-
   [Default "camera" feature policy ["self"\] disallows cross-origin iframes.]
     expected: FAIL
 
-  [Feature policy "camera" can be enabled in cross-origin iframes using "allow" attribute.]
-    expected: FAIL
-
   [Default "camera; microphone" feature policy ["self"\] disallows cross-origin iframes.]
     expected: FAIL
 
-  [Feature policy "camera; microphone" can be enabled in cross-origin iframes using "allow" attribute.]
-    expected: FAIL
-
 
 [MediaStream-default-feature-policy.https.html]
   [Default "microphone" feature policy ["self"\] disallows cross-origin iframes.]
     expected: FAIL
 
-  [Feature policy "microphone" can be enabled in cross-origin iframes using "allow" attribute.]
-    expected: FAIL
-
   [Default "camera" feature policy ["self"\] disallows cross-origin iframes.]
     expected: FAIL
 
-  [Feature policy "camera" can be enabled in cross-origin iframes using "allow" attribute.]
-    expected: FAIL
-
   [Default "camera; microphone" feature policy ["self"\] disallows cross-origin iframes.]
     expected: FAIL
 
-  [Feature policy "camera; microphone" can be enabled in cross-origin iframes using "allow" attribute.]
-    expected: FAIL
-
--- a/testing/web-platform/meta/mediacapture-streams/__dir__.ini
+++ b/testing/web-platform/meta/mediacapture-streams/__dir__.ini
@@ -1,2 +1,2 @@
-prefs: [media.navigator.permission.disabled:true, media.navigator.streams.fake:true]
+prefs: [media.navigator.permission.disabled:true, media.navigator.streams.fake:true, dom.security.featurePolicy.enabled:true]
 lsan-allowed: [Alloc, NewEmptyScopeData, XPCWrappedNative::GetNewOrUsed, js_new, mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::dom::ChromeUtils::GenerateQI, nsStringBuffer::Alloc]