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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html

Issue 2037573004: Add video width and height to getSettings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/fast/mediastream/MediaStreamTrack-getSettings.html
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html b/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html
index d897949cb5fb6c1c5efff0921dd2a29367962f27..424cd3c4ed2c2fc4e4435624212cdab68881b72e 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html
@@ -26,6 +26,10 @@ promise_test(function() {
assert_greater_than(Object.keys(settings).length, 0);
assert_true('frameRate' in settings,
'Frame rate missing: ' + JSON.stringify(settings));
+ assert_true('width' in settings,
+ 'Width missing: ' + JSON.stringify(settings));
+ assert_true('height' in settings,
+ 'Height missing: ' + JSON.stringify(settings));
});
}, 'A video track returns frame rate');
« no previous file with comments | « content/renderer/media/media_stream_video_track.cc ('k') | third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698