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

Unified Diff: third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html

Issue 2762883002: Image Capture layouttests: correct mockImageCaptureReady error callback (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-getCapabilities.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
diff --git a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
index 06b47dc7d4c7fd5948e762e1a10f8803b4476a2d..50b580c45b8b22b78b202172175b40cf61e5545f 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
+++ b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html
@@ -45,9 +45,9 @@ async_test(function(t) {
var videoTrack = stream.getVideoTracks()[0];
return videoTrack.applyConstraints(constraints);
- })
- .catch(error => {
- assert_unreached("Error creating MockImageCapture: " + error.message);
+ },
+ error => {
+ assert_unreached("Error creating MockImageCapture: " + error);
})
.then(function() {
assert_equals(constraints.advanced[0].whiteBalanceMode,
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-getCapabilities.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698