Bug 1635869 - Turn on dom.imagecapture.enabled pref in WPT.
Differential Revision:
https://phabricator.services.mozilla.com/D80774
--- a/testing/web-platform/meta/mediacapture-image/ImageCapture-creation.https.html.ini
+++ b/testing/web-platform/meta/mediacapture-image/ImageCapture-creation.https.html.ini
@@ -1,14 +1,7 @@
[ImageCapture-creation.https.html]
expected: OK
[grabFrame() of a disabled Track]
expected: FAIL
- [verifies that an ImageCapture cannot be created out of an Audio Track]
- expected: FAIL
-
[grabFrame() of an ended Track]
expected: FAIL
-
- [throw "TypeError" if parameter is not MediaStreamTrack.]
- expected: FAIL
-
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/mediacapture-image/__dir__.ini
@@ -0,0 +1,1 @@
+prefs: [media.navigator.permission.disabled:true, media.navigator.streams.fake:true, dom.imagecapture.enabled:true]
--- a/testing/web-platform/meta/mediacapture-image/idlharness.window.js.ini
+++ b/testing/web-platform/meta/mediacapture-image/idlharness.window.js.ini
@@ -9,19 +9,16 @@
expected: FAIL
[MediaSettingsRange interface: attribute step]
expected: FAIL
[PhotoCapabilities interface: capabilities must inherit property "redEyeReduction" with the proper type]
expected: FAIL
- [ImageCapture interface object length]
- expected: FAIL
-
[PhotoCapabilities interface: capabilities must inherit property "fillLightMode" with the proper type]
expected: FAIL
[PhotoCapabilities interface: existence and properties of interface prototype object]
expected: FAIL
[MediaSettingsRange interface: attribute max]
expected: FAIL
@@ -42,19 +39,16 @@
expected: FAIL
[PhotoCapabilities interface object name]
expected: FAIL
[ImageCapture interface: operation getPhotoSettings()]
expected: FAIL
- [ImageCapture interface: existence and properties of interface prototype object's @@unscopables property]
- expected: FAIL
-
[MediaSettingsRange interface: existence and properties of interface prototype object]
expected: FAIL
[PhotoCapabilities interface object length]
expected: FAIL
[ImageCapture interface: operation grabFrame()]
expected: FAIL
@@ -72,65 +66,46 @@
expected: FAIL
[PhotoCapabilities interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PhotoCapabilities must be primary interface of capabilities]
expected: FAIL
- [Stringification of capture]
- expected: FAIL
-
[MediaSettingsRange interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[ImageCapture interface: attribute track]
expected: FAIL
[ImageCapture interface: capture must inherit property "getPhotoSettings()" with the proper type]
expected: FAIL
- [ImageCapture interface: existence and properties of interface prototype object's "constructor" property]
- expected: FAIL
-
[PhotoCapabilities interface: capabilities must inherit property "imageHeight" with the proper type]
expected: FAIL
[PhotoCapabilities interface: attribute imageWidth]
expected: FAIL
[ImageCapture interface: existence and properties of interface object]
expected: FAIL
[MediaSettingsRange interface: attribute min]
expected: FAIL
[ImageCapture interface: existence and properties of interface prototype object]
expected: FAIL
- [ImageCapture interface object name]
- expected: FAIL
-
[MediaSettingsRange interface object length]
expected: FAIL
[MediaSettingsRange interface: existence and properties of interface object]
expected: FAIL
- [ImageCapture must be primary interface of capture]
- expected: FAIL
-
[PhotoCapabilities interface: attribute imageHeight]
expected: FAIL
[idl_test setup]
expected: FAIL
- [ImageCapture interface: capture must inherit property "takePhoto(optional PhotoSettings)" with the proper type]
- expected: FAIL
-
[ImageCapture interface: operation takePhoto(optional PhotoSettings)]
expected: FAIL
-
- [ImageCapture interface: calling takePhoto(optional PhotoSettings) on capture with too few arguments must throw TypeError]
- expected: FAIL
-