| 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 285c7dfa5829405d23e38e1c03db354efd80c0c1..49b8c370c9bf903788e62007f356779e16d7568b 100644
|
| --- a/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html
|
| +++ b/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html
|
| @@ -8,7 +8,7 @@
|
| </body>
|
| <script>
|
|
|
| -const fillLightModeNames = ["none", "off", "auto", "flash", "torch"];
|
| +const mojoFillLightModeNames = ["none", "off", "auto", "flash"];
|
|
|
| // This test verifies that ImageCapture can get PhotoCapabilities(), with a mock
|
| // Mojo interface implementation.
|
| @@ -55,12 +55,13 @@ async_test(function(t) {
|
| mock_capabilities.width.current);
|
| assert_equals(capabilities.imageWidth.step, mock_capabilities.width.step);
|
|
|
| - assert_equals(capabilities.fillLightMode,
|
| - fillLightModeNames[mock_capabilities.fill_light_mode],
|
| + assert_array_equals(
|
| + capabilities.fillLightMode,
|
| + [mojoFillLightModeNames[mock_capabilities.fill_light_mode]],
|
| 'fillLightMode');
|
|
|
| - assert_true(capabilities.redEyeReduction,
|
| - mock_capabilities.red_eye_reduction, 'redEyeReduction');
|
| + assert_equals(capabilities.redEyeReduction, 'controllable',
|
| + 'redEyeReduction');
|
|
|
| t.done();
|
| })
|
|
|