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

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

Issue 2301053004: Image Capture: adding fillLightMode getting/setting (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/getphotocapabilities.html
diff --git a/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html b/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html
index b90cb8d01274c8b7b17015bf9cdf069cb40636fe..8cd7160dc04c5276d141a02a8e304889795cd354 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html
+++ b/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html
@@ -8,7 +8,8 @@
</body>
<script>
-const meteringModeNames = ["unavailable", "manual", "single-shot", "continuous"];
+const meteringModeNames = ["none", "manual", "single-shot", "continuous"];
+const fillLightModeNames = ["none", "off", "auto", "flash", "torch"];
// This test verifies that ImageCapture can get PhotoCapabilities(), with a mock
// Mojo interface implementation.
@@ -83,6 +84,10 @@ async_test(function(t) {
meteringModeNames[mock_capabilities.white_balance_mode],
'whiteBalanceMode');
+ assert_equals(capabilities.fillLightMode,
+ fillLightModeNames[mock_capabilities.fill_light_mode],
+ 'fillLightMode');
+
t.done();
})
.catch(error => {

Powered by Google App Engine
This is Rietveld 408576698