| 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 8b654e037a0f4a0840fe64a3332b301789357ac4..e58930e6b465fff73c8917603f60fc89bb66db1f 100644
|
| --- a/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html
|
| +++ b/third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html
|
| @@ -26,8 +26,8 @@ async_test(function(t) {
|
| .then(mock => {
|
| mock_capabilities = mock.capabilities();
|
| return new ImageCapture(stream.getVideoTracks()[0]);
|
| - })
|
| - .catch(error => {
|
| + },
|
| + error => {
|
| assert_unreached("Error creating MockImageCapture: " + error);
|
| })
|
| .then(capturer => {
|
| @@ -146,9 +146,9 @@ async_test(function(t) {
|
| t.done();
|
| })
|
| .catch(error => {
|
| - assert_unreached("Error during getPhotoCapabilities(): " + error);
|
| + assert_unreached("Error during getPhotoCapabilities(): " + error.message);
|
| });
|
|
|
| -}, 'exercises the retrieval of Capabilities on ImageCapture API construction');
|
| +}, 'exercises ImageCapture.getPhotoCapabilities()');
|
|
|
| </script>
|
|
|