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> |