Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html

Issue 2787933002: ImageCapture: separate fillLightMode, redEyeReduction and Torch (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
diff --git a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
index ff49e629fa5645946fc839bdcbd94178b524873e..04e6e85232594c308c6fdd3536e0f31a37e74229 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
+++ b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
@@ -35,8 +35,9 @@ async_test(function(t) {
saturation : 5,
sharpness : 6,
- zoom : 3.141592
- // TODO: torch https://crbug.com/700607.
+ zoom : 3.141592,
+
+ torch : true
}]};
var theMock = null;
@@ -78,6 +79,9 @@ async_test(function(t) {
assert_equals(constraints.advanced[0].sharpness,
theMock.options().sharpness, 'sharpness value');
+ assert_equals(constraints.advanced[0].torch, theMock.options().torch,
+ 'torch');
+
t.done();
})
.catch(error => {

Powered by Google App Engine
This is Rietveld 408576698