| 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 f33ad649c044dfb6f59de052de21958a81caacc0..7d04b0b9653683226ee58bac85d029b155828823 100644
|
| --- a/third_party/WebKit/LayoutTests/imagecapture/setoptions.html
|
| +++ b/third_party/WebKit/LayoutTests/imagecapture/setoptions.html
|
| @@ -43,8 +43,8 @@ async_test(function(t) {
|
| .then(mock => {
|
| theMock = mock;
|
| return new ImageCapture(stream.getVideoTracks()[0]);
|
| - })
|
| - .catch(error => {
|
| + },
|
| + error => {
|
| assert_unreached("Error creating MockImageCapture: " + error);
|
| })
|
| .then(capturer => {
|
| @@ -109,8 +109,8 @@ async_test(function(t) {
|
| t.done();
|
| })
|
| .catch(error => {
|
| - assert_unreached("Error during setOptions(): " + error);
|
| + assert_unreached("Error during setOptions(): " + error.message);
|
| });
|
| -}, 'exercises the ImageCapture API setOptions()');
|
| +}, 'exercises ImageCapture.setOptions(options)');
|
|
|
| </script>
|
|
|