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

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

Issue 1384483005: MediaStream Recorder: Support VP9 encoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sandersd@ comments Created 5 years, 2 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/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');

Powered by Google App Engine
This is Rietveld 408576698