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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html

Issue 2234563002: MediaRecorder: support recording with no multiplexing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: consider empty mimeTypes Created 4 years, 4 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 | « content/renderer/media/media_recorder_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html
diff --git a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html
index 7b0c985629092efe1e01bee55cd1deea817b505f..f96197367f856cbcedce6223d10f1dda2ea6c3c0 100644
--- a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html
+++ b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html
@@ -41,4 +41,17 @@ test(function() {
assert_true(MediaRecorder.isTypeSupported("audio/webm;codecs=opus"));
}, 'check MediaRecorder.isTypeSupported() with valid audio MIME types');
+test(function() {
+ assert_true(MediaRecorder.isTypeSupported("video/vp8"));
+ assert_true(MediaRecorder.isTypeSupported("video/VP8"));
+ assert_true(MediaRecorder.isTypeSupported("video/vp9"));
+ assert_true(MediaRecorder.isTypeSupported("video/VP9"));
+ assert_true(MediaRecorder.isTypeSupported("video/h264"));
+ assert_true(MediaRecorder.isTypeSupported("video/H264"));
+
+ assert_true(MediaRecorder.isTypeSupported("audio/opus"));
+ assert_true(MediaRecorder.isTypeSupported("audio/OpUs"));
+ assert_true(MediaRecorder.isTypeSupported("audio/OPUS"));
+}, 'check MediaRecorder.isTypeSupported() works for non-contained types');
+
</script>
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698