Bug 1481176 - P5. Enable more media-capabilities wpt. r=jgraham
authorJean-Yves Avenard <jyavenard@mozilla.com>
Mon, 06 Aug 2018 17:43:02 +0200
changeset 430422 2ea09ec0a7e6b2544a1dc5b334a67ec9572d9f82
parent 430421 cbc8352f9578b9881ae27e4e20a9e328e9d0ac7e
child 430423 9dfaada5a1c278bfb1e6651b5f32e98cc7e4620c
push id34403
push usercbrindusan@mozilla.com
push dateTue, 07 Aug 2018 21:52:23 +0000
treeherdermozilla-central@d9e6ce390607 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1481176
milestone63.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 1481176 - P5. Enable more media-capabilities wpt. r=jgraham Differential Revision: https://phabricator.services.mozilla.com/D2791
testing/web-platform/meta/media-capabilities/__dir__.ini
testing/web-platform/meta/media-capabilities/decodingInfo.html.ini
testing/web-platform/meta/media-capabilities/idlharness.any.js.ini
--- a/testing/web-platform/meta/media-capabilities/__dir__.ini
+++ b/testing/web-platform/meta/media-capabilities/__dir__.ini
@@ -1,1 +1,2 @@
+prefs: [media.media-capabilities.enabled:true]
 lsan-allowed: [Alloc, XPCWrappedNative::GetNewOrUsed, js_new, js_pod_calloc, js_pod_malloc, js_pod_realloc, mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::dom::ChromeUtils::GenerateQI, nsStringBuffer::Alloc]
--- a/testing/web-platform/meta/media-capabilities/decodingInfo.html.ini
+++ b/testing/web-platform/meta/media-capabilities/decodingInfo.html.ini
@@ -1,8 +1,7 @@
 [decodingInfo.html]
-  prefs: [media.media-capabilities.enabled:true]
   [Test that decodingInfo rejects if the video configuration contentType has more than one parameter]
     expected: FAIL
 
   [Test that decodingInfo rejects if the audio configuration contentType has more than one parameters]
     expected: FAIL
 
--- a/testing/web-platform/meta/media-capabilities/idlharness.any.js.ini
+++ b/testing/web-platform/meta/media-capabilities/idlharness.any.js.ini
@@ -1,239 +1,50 @@
 [idlharness.any.html]
-  [MediaCapabilitiesInfo interface: existence and properties of interface object]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface object length]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface object name]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: existence and properties of interface prototype object]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: existence and properties of interface prototype object's "constructor" property]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: existence and properties of interface prototype object's @@unscopables property]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: attribute supported]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: attribute smooth]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: attribute powerEfficient]
-    expected: FAIL
-
-  [MediaCapabilities interface: existence and properties of interface object]
-    expected: FAIL
-
-  [MediaCapabilities interface object length]
-    expected: FAIL
-
-  [MediaCapabilities interface object name]
-    expected: FAIL
-
-  [MediaCapabilities interface: existence and properties of interface prototype object]
-    expected: FAIL
-
-  [MediaCapabilities interface: existence and properties of interface prototype object's "constructor" property]
-    expected: FAIL
-
-  [MediaCapabilities interface: existence and properties of interface prototype object's @@unscopables property]
-    expected: FAIL
-
-  [MediaCapabilities interface: operation decodingInfo(MediaDecodingConfiguration)]
-    expected: FAIL
-
-  [MediaCapabilities interface: operation encodingInfo(MediaEncodingConfiguration)]
-    expected: FAIL
-
-  [ScreenLuminance interface: existence and properties of interface object]
-    expected: FAIL
-
-  [ScreenLuminance interface object length]
-    expected: FAIL
-
-  [ScreenLuminance interface object name]
-    expected: FAIL
-
-  [ScreenLuminance interface: existence and properties of interface prototype object]
-    expected: FAIL
-
-  [ScreenLuminance interface: existence and properties of interface prototype object's "constructor" property]
-    expected: FAIL
-
-  [ScreenLuminance interface: existence and properties of interface prototype object's @@unscopables property]
-    expected: FAIL
-
-  [ScreenLuminance interface: attribute min]
-    expected: FAIL
-
-  [ScreenLuminance interface: attribute max]
-    expected: FAIL
-
-  [ScreenLuminance interface: attribute maxAverage]
-    expected: FAIL
-
-  [Navigator interface: attribute mediaCapabilities]
-    expected: FAIL
-
-  [Navigator interface: navigator must inherit property "mediaCapabilities" with the proper type]
-    expected: FAIL
-
-  [Screen interface: attribute colorGamut]
-    expected: FAIL
-
-  [Screen interface: attribute luminance]
-    expected: FAIL
-
-  [Screen interface: attribute onchange]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: encodingInfo must inherit property "smooth" with the proper type]
-    expected: FAIL
-
   [MediaCapabilities interface: calling decodingInfo(MediaDecodingConfiguration) on navigatior.mediaCapabilities with too few arguments must throw TypeError]
     expected: FAIL
 
   [MediaCapabilities interface: navigatior.mediaCapabilities must inherit property "decodingInfo(MediaDecodingConfiguration)" with the proper type]
     expected: FAIL
 
-  [Stringification of decodingInfo]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: decodingInfo must inherit property "smooth" with the proper type]
-    expected: FAIL
-
   [ScreenLuminance interface: screen.luminance must inherit property "min" with the proper type]
     expected: FAIL
 
   [Stringification of navigatior.mediaCapabilities]
     expected: FAIL
 
-  [Screen interface: screen must inherit property "colorGamut" with the proper type]
-    expected: FAIL
-
   [Stringification of screen.luminance]
     expected: FAIL
 
   [ScreenLuminance interface: screen.luminance must inherit property "maxAverage" with the proper type]
     expected: FAIL
 
   [ScreenLuminance interface: screen.luminance must inherit property "max" with the proper type]
     expected: FAIL
 
-  [MediaCapabilitiesInfo interface: decodingInfo must inherit property "supported" with the proper type]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: decodingInfo must inherit property "powerEfficient" with the proper type]
-    expected: FAIL
-
-  [Screen interface: screen must inherit property "luminance" with the proper type]
-    expected: FAIL
-
-  [Stringification of encodingInfo]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: encodingInfo must inherit property "powerEfficient" with the proper type]
-    expected: FAIL
-
   [ScreenLuminance must be primary interface of screen.luminance]
     expected: FAIL
 
-  [MediaCapabilitiesInfo must be primary interface of encodingInfo]
-    expected: FAIL
-
   [MediaCapabilities interface: calling encodingInfo(MediaEncodingConfiguration) on navigatior.mediaCapabilities with too few arguments must throw TypeError]
     expected: FAIL
 
-  [MediaCapabilitiesInfo must be primary interface of decodingInfo]
-    expected: FAIL
-
-  [Screen interface: screen must inherit property "onchange" with the proper type]
-    expected: FAIL
-
   [MediaCapabilities interface: navigatior.mediaCapabilities must inherit property "encodingInfo(MediaEncodingConfiguration)" with the proper type]
     expected: FAIL
 
   [MediaCapabilities must be primary interface of navigatior.mediaCapabilities]
     expected: FAIL
 
-  [MediaCapabilitiesInfo interface: encodingInfo must inherit property "supported" with the proper type]
-    expected: FAIL
-
 
 [idlharness.any.worker.html]
-  [MediaCapabilities interface: existence and properties of interface object]
-    expected: FAIL
-
-  [MediaCapabilities interface object length]
-    expected: FAIL
-
-  [MediaCapabilities interface object name]
-    expected: FAIL
-
-  [MediaCapabilities interface: existence and properties of interface prototype object]
-    expected: FAIL
-
-  [MediaCapabilities interface: existence and properties of interface prototype object's "constructor" property]
-    expected: FAIL
-
-  [MediaCapabilities interface: existence and properties of interface prototype object's @@unscopables property]
-    expected: FAIL
-
-  [MediaCapabilities interface: operation decodingInfo(MediaDecodingConfiguration)]
-    expected: FAIL
-
-  [MediaCapabilities interface: operation encodingInfo(MediaEncodingConfiguration)]
-    expected: FAIL
-
-  [WorkerNavigator interface: attribute mediaCapabilities]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: existence and properties of interface object]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface object length]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface object name]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: existence and properties of interface prototype object]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: existence and properties of interface prototype object's "constructor" property]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: existence and properties of interface prototype object's @@unscopables property]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: attribute supported]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: attribute smooth]
-    expected: FAIL
-
-  [MediaCapabilitiesInfo interface: attribute powerEfficient]
-    expected: FAIL
-
   [MediaCapabilitiesInfo interface: encodingInfo must inherit property "smooth" with the proper type]
     expected: FAIL
 
   [MediaCapabilities interface: calling decodingInfo(MediaDecodingConfiguration) on navigatior.mediaCapabilities with too few arguments must throw TypeError]
     expected: FAIL
 
-  [WorkerNavigator interface: navigator must inherit property "mediaCapabilities" with the proper type]
-    expected: FAIL
-
   [MediaCapabilities interface: navigatior.mediaCapabilities must inherit property "decodingInfo(MediaDecodingConfiguration)" with the proper type]
     expected: FAIL
 
   [Stringification of decodingInfo]
     expected: FAIL
 
   [MediaCapabilitiesInfo interface: decodingInfo must inherit property "smooth" with the proper type]
     expected: FAIL