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

Unified Diff: third_party/WebKit/LayoutTests/imagecapture/setoptions.html

Issue 2375543004: ImageCapture: wire |colorTemperature| set/get for Linux/Cros (Closed)
Patch Set: Created 4 years, 3 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/setoptions.html
diff --git a/third_party/WebKit/LayoutTests/imagecapture/setoptions.html b/third_party/WebKit/LayoutTests/imagecapture/setoptions.html
index 6148fc47be01b00bc26d4ee2ff22848080bb4bf7..643b6f27bc64dd5426c06cb7352131345aba9c1c 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/setoptions.html
+++ b/third_party/WebKit/LayoutTests/imagecapture/setoptions.html
@@ -33,6 +33,7 @@ async_test(function(t) {
iso : 120,
redEyeReduction : true,
fillLightMode : "flash",
+ colorTemperature : 6000,
};
mockImageCaptureReady
.then(mock => {
@@ -95,6 +96,11 @@ async_test(function(t) {
assert_equals(optionsDict.fillLightMode,
fillLightModeNames[theMock.options().fill_light_mode],
'fillLightMode value');
+ assert_true(theMock.options().has_color_temperature,
+ 'has_color_temperature must be true');
+ assert_equals(optionsDict.colorTemperature,
+ theMock.options().color_temperature,
+ 'colorTemperature value');
t.done();
})

Powered by Google App Engine
This is Rietveld 408576698