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

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

Issue 2585533002: MediaRecorder (cleanup): support mime type video/x-matroska and codec=avc1 to the list (Closed)
Patch Set: Created 4 years 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/test/data/media/mediarecorder_test.html ('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..ef1b105b010ea5cc4156c7671851351a33be91ec 100644
--- a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html
+++ b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-isTypeSupported.html
@@ -20,6 +20,7 @@ test(function() {
assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=vp9.0"));
assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=h264"));
assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=H264"));
+ assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=avc1"));
// "video/webm" supports audio codec specification, see
// http://www.webmproject.org/docs/container/
assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=vp8,opus"));
@@ -28,6 +29,8 @@ test(function() {
assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=vp8,vp9,opus"));
assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=h264,opus"));
assert_true(MediaRecorder.isTypeSupported("video/webm;codecs=h264,vp9,opus"));
+ // https://matroska.org/technical/specs/notes.html#MIME
+ assert_true(MediaRecorder.isTypeSupported("video/x-matroska;codecs=avc1"));
}, 'check MediaRecorder.isTypeSupported() with valid video MIME types');
test(function() {
« no previous file with comments | « content/test/data/media/mediarecorder_test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698