Index: third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html |
diff --git a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html |
index aa43a3b86bb198a4218e951ce553358869a70fc8..274379024b85bc7817169a7fd362fcae4a11c204 100644 |
--- a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html |
+++ b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html |
@@ -2,8 +2,8 @@ |
<script src=../../resources/testharness.js></script> |
<script src=../../resources/testharnessreport.js></script> |
<script> |
-// Check one Video format that should be recordable and another that should not |
-// be. Supported formats return "maybe". Same for Audio. |
+// Check the Video formats that should be recordable and one that should not be. |
+// Supported formats return "maybe". Same for Audio. |
// https://w3c.github.io/mediacapture-record/MediaRecorder.html#methods |
test(function() { |
@@ -15,6 +15,10 @@ test(function() { |
}, 'check MediaRecorder.canRecordMimeType() with video/vp8'); |
test(function() { |
+ assert_equals(MediaRecorder.canRecordMimeType("video/vp9"), "maybe"); |
+}, 'check MediaRecorder.canRecordMimeType() with video/vp9'); |
+ |
+test(function() { |
assert_equals(MediaRecorder.canRecordMimeType("audio/invalid"), ""); |
}, 'check MediaRecorder.canRecordMimeType() with audio/invalid'); |