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

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

Issue 2819233002: Image Capture: Reject applyConstraints() if passed an unsupported constraint (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-getCapabilities.html
diff --git a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-getCapabilities.html b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-getCapabilities.html
index 490d355004eb4ff08e44bf02e87ee15dddca6536..ec9347bfce3e3b4cb5dc77c7d3406e37c0175ee8 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-getCapabilities.html
+++ b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-getCapabilities.html
@@ -33,9 +33,10 @@ async_test(function(t) {
var videoTrack = stream.getVideoTracks()[0];
assert_equals(typeof videoTrack.getCapabilities, 'function');
- // |videoTrack|s capabilities, just like the actual capture, is a process
- // kicked right after creation, we introduce a small delay to allow for
- // those to be collected.
+ // |videoTrack|'s capabilities gathering, just like the actual capture, is
+ // a process kicked off right after creation, we introduce a small delay
+ // to allow for those to be collected.
+ // TODO(mcasas): this shouldn't be needed, https://crbug.com/711524.
setTimeout(() => {
capabilities = videoTrack.getCapabilities();
assert_equals(typeof capabilities, 'object');

Powered by Google App Engine
This is Rietveld 408576698