| 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 ea03a17dea34ec288982a84de2317291b1a88683..f33ad649c044dfb6f59de052de21958a81caacc0 100644
|
| --- a/third_party/WebKit/LayoutTests/imagecapture/setoptions.html
|
| +++ b/third_party/WebKit/LayoutTests/imagecapture/setoptions.html
|
| @@ -21,7 +21,7 @@ async_test(function(t) {
|
| var stream = canvas.captureStream();
|
|
|
| var theMock = null;
|
| - const optionsDict = { zoom : 7,
|
| + const optionsDict = { zoom : 1.7,
|
| imageWidth : 1080,
|
| imageHeight : 100,
|
| focusMode : "single-shot",
|
| @@ -52,7 +52,7 @@ async_test(function(t) {
|
| })
|
| .then(function() {
|
| assert_true(theMock.options().has_zoom, 'has_zoom must be true');
|
| - assert_equals(optionsDict.zoom, theMock.options().zoom, 'zoom value');
|
| + assert_approx_equals(optionsDict.zoom, theMock.options().zoom, 0.1, 'zoom value');
|
| assert_equals(true, theMock.options().has_width, 'has_width must be true');
|
| assert_equals(optionsDict.imageWidth, theMock.options().width, 'width value');
|
| assert_equals(true, theMock.options().has_height, 'has_height must be true');
|
|
|