diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json
index 42c12dc6cb74..4bcefb1cf772 100644
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -291458,6 +291458,11 @@
{}
]
],
+ "mediacapture-image/resources/imagecapture-helpers.js": [
+ [
+ {}
+ ]
+ ],
"mediacapture-record/META.yml": [
[
{}
@@ -295908,6 +295913,21 @@
{}
]
],
+ "resources/chromium/image_capture-mojom.js.headers": [
+ [
+ {}
+ ]
+ ],
+ "resources/chromium/image_capture.mojom.js": [
+ [
+ {}
+ ]
+ ],
+ "resources/chromium/mock-imagecapture.js": [
+ [
+ {}
+ ]
+ ],
"resources/chromium/mojo_bindings.js": [
[
{}
@@ -368296,12 +368316,120 @@
{}
]
],
+ "mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html": [
+ [
+ "/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/ImageCapture-creation.https.html": [
+ [
+ "/mediacapture-image/ImageCapture-creation.https.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/ImageCapture-grabFrame.html": [
+ [
+ "/mediacapture-image/ImageCapture-grabFrame.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-applyConstraints-fast.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-applyConstraints-fast.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-applyConstraints-reject.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-applyConstraints-reject.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-applyConstraints.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-applyConstraints.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-getCapabilities-fast.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-getCapabilities-fast.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-getCapabilities.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-getCapabilities.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-getConstraints-fast.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-getConstraints-fast.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-getSettings-fast.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-getSettings-fast.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/MediaStreamTrack-getSettings.html": [
+ [
+ "/mediacapture-image/MediaStreamTrack-getSettings.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/detached-HTMLCanvasElement.html": [
+ [
+ "/mediacapture-image/detached-HTMLCanvasElement.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/getPhotoCapabilities.html": [
+ [
+ "/mediacapture-image/getPhotoCapabilities.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/getPhotoSettings.html": [
+ [
+ "/mediacapture-image/getPhotoSettings.html",
+ {}
+ ]
+ ],
"mediacapture-image/idlharness.window.js": [
[
"/mediacapture-image/idlharness.window.html",
{}
]
],
+ "mediacapture-image/setOptions-reject.html": [
+ [
+ "/mediacapture-image/setOptions-reject.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/takePhoto-with-PhotoSettings.html": [
+ [
+ "/mediacapture-image/takePhoto-with-PhotoSettings.html",
+ {}
+ ]
+ ],
+ "mediacapture-image/takePhoto.html": [
+ [
+ "/mediacapture-image/takePhoto.html",
+ {}
+ ]
+ ],
"mediacapture-record/BlobEvent-constructor.html": [
[
"/mediacapture-record/BlobEvent-constructor.html",
@@ -611194,7 +611322,7 @@
"support"
],
"lint.whitelist": [
- "92bb4b5bcc96e4ff84ce077c391ce7efa3952ee4",
+ "7d579b6b343a23e6c039f309f362354c5aa5ba62",
"support"
],
"longtask-timing/META.yml": [
@@ -612405,14 +612533,90 @@
"c58e63ff12acefc73fc3cfa2f35836778696c827",
"testharness"
],
+ "mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html": [
+ "aae75b7e8c91b76d163404d6cc319382606e4e2e",
+ "testharness"
+ ],
+ "mediacapture-image/ImageCapture-creation.https.html": [
+ "9e8b5feeeb5cdf5686c36e3972fc9a1a8961de95",
+ "testharness"
+ ],
+ "mediacapture-image/ImageCapture-grabFrame.html": [
+ "bf5e9400a038f2432ce1bee3a3b345f3c82e5ea5",
+ "testharness"
+ ],
"mediacapture-image/META.yml": [
"1b4fef5e5a19ed3d7e61320bfa752a19da1f595a",
"support"
],
+ "mediacapture-image/MediaStreamTrack-applyConstraints-fast.html": [
+ "75ed17a9e3302b0cb2b388846ad73d55c6d9c166",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html": [
+ "6241d599dc325d9b567eb6900c3daafaded92af3",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-applyConstraints-reject.html": [
+ "8f08d250fd1a569d84ecd4ce36fe5ffa29f583f7",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-applyConstraints.html": [
+ "431646eb53f030dce81f15a0130ea660142ce2ce",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-getCapabilities-fast.html": [
+ "55272d1499517a6fda0b7e06068928b4e1127b27",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-getCapabilities.html": [
+ "452b223a1b0bf3bad06d956e16b0eff22c8b6507",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-getConstraints-fast.html": [
+ "8cae4331318cb32c30e1c89339fdb37fee97a5db",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-getSettings-fast.html": [
+ "a4ecbe61181640f7f993f7f5c9cd3fd4e992f72c",
+ "testharness"
+ ],
+ "mediacapture-image/MediaStreamTrack-getSettings.html": [
+ "04fbfbfb6137cf61ee6491e2bef5786f202b43e3",
+ "testharness"
+ ],
+ "mediacapture-image/detached-HTMLCanvasElement.html": [
+ "e27950fc5edfea8357344f91198f0105775fef2c",
+ "testharness"
+ ],
+ "mediacapture-image/getPhotoCapabilities.html": [
+ "83329fcac4ad37bea6dd13930103c2fd689a77fd",
+ "testharness"
+ ],
+ "mediacapture-image/getPhotoSettings.html": [
+ "6a6184f17cb2f92c01d7bf784047ae17b1e8be66",
+ "testharness"
+ ],
"mediacapture-image/idlharness.window.js": [
"9d8f7eefb84dcc16534f1311c3b3c3d68e84572d",
"testharness"
],
+ "mediacapture-image/resources/imagecapture-helpers.js": [
+ "6d5ffa1695d807a05edeb75a21d472856bdda252",
+ "support"
+ ],
+ "mediacapture-image/setOptions-reject.html": [
+ "4deee97d7bc77859602aa25d51e547bd0290409b",
+ "testharness"
+ ],
+ "mediacapture-image/takePhoto-with-PhotoSettings.html": [
+ "58708612456fc669c5a445b76ad110fcbb0bb27d",
+ "testharness"
+ ],
+ "mediacapture-image/takePhoto.html": [
+ "49926db1cde6ee6b3e703e920e0812232eac0835",
+ "testharness"
+ ],
"mediacapture-record/BlobEvent-constructor.html": [
"3bcf4296e68aea1a7b167e570c0dcec148cc95e4",
"testharness"
@@ -631185,6 +631389,18 @@
"6805c323df5a975231648b830e33ce183c3cbbd3",
"support"
],
+ "resources/chromium/image_capture-mojom.js.headers": [
+ "6c61a34a4ec2e75096db0eb9f7748b142f0db7bb",
+ "support"
+ ],
+ "resources/chromium/image_capture.mojom.js": [
+ "1d01581e023e4655ec9d5c634aa9c8bbdf79d40b",
+ "support"
+ ],
+ "resources/chromium/mock-imagecapture.js": [
+ "a700bc97b3e055a66c80aca7cac33cfac3a2334f",
+ "support"
+ ],
"resources/chromium/mojo_bindings.js": [
"67d6a8828551c1f703ef29831592f2e4d8a42485",
"support"
diff --git a/testing/web-platform/tests/lint.whitelist b/testing/web-platform/tests/lint.whitelist
index 92bb4b5bcc96..7d579b6b343a 100644
--- a/testing/web-platform/tests/lint.whitelist
+++ b/testing/web-platform/tests/lint.whitelist
@@ -265,6 +265,9 @@ GENERATE_TESTS: dom/traversal/TreeWalker.html
GENERATE_TESTS: domparsing/createContextualFragment.html
GENERATE_TESTS: domxpath/001.html
GENERATE_TESTS: domxpath/002.html
+GENERATE_TESTS: mediacapture-image/MediaStreamTrack-applyConstraints-reject.html
+GENERATE_TESTS: mediacapture-image/MediaStreamTrack-getConstraints-fast.html
+GENERATE_TESTS: mediacapture-image/setOptions-reject.html
GENERATE_TESTS: html/semantics/scripting-1/the-template-element/template-element/template-as-a-descendant.html
GENERATE_TESTS: html/syntax/parsing/Document.getElementsByTagName-foreign-01.html
GENERATE_TESTS: html/syntax/parsing/template/clearing-the-stack-back-to-a-given-context/clearing-stack-back-to-a-table-body-context.html
diff --git a/testing/web-platform/tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html b/testing/web-platform/tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html
new file mode 100644
index 000000000000..aae75b7e8c91
--- /dev/null
+++ b/testing/web-platform/tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html
@@ -0,0 +1,25 @@
+
+
+
+
diff --git a/testing/web-platform/tests/mediacapture-image/ImageCapture-creation.https.html b/testing/web-platform/tests/mediacapture-image/ImageCapture-creation.https.html
new file mode 100644
index 000000000000..9e8b5feeeb5c
--- /dev/null
+++ b/testing/web-platform/tests/mediacapture-image/ImageCapture-creation.https.html
@@ -0,0 +1,76 @@
+
+
+
+
diff --git a/testing/web-platform/tests/mediacapture-image/ImageCapture-grabFrame.html b/testing/web-platform/tests/mediacapture-image/ImageCapture-grabFrame.html
new file mode 100644
index 000000000000..bf5e9400a038
--- /dev/null
+++ b/testing/web-platform/tests/mediacapture-image/ImageCapture-grabFrame.html
@@ -0,0 +1,46 @@
+
+
+
+
+