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

Side by Side Diff: LayoutTests/fast/mediarecorder/MediaRecorder-canRecordMimeType.html

Issue 1255873002: MediaRecorder Blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: esprehn@ comments Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 <script src="../../resources/js-test.js"></script>
mlamouri (slow - plz ping) 2015/08/13 13:31:47 ditto
mcasas 2015/08/13 18:42:16 Done.
2 <script>
3 description("This test check MediaRecorder.canRecordMimeType().");
4
5 // Check one Video format that should be recordable and another that should be.
6 // Supported formats return "maybe". Same for Audio.
7 // http://w3c.github.io/mediacapture-record/MediaRecorder.html#methods
8 shouldBe('MediaRecorder.canRecordMimeType("video/invalid")', '""');
9 shouldBe('MediaRecorder.canRecordMimeType("video/webm;codecs="vp8")', '"maybe"') ;
10
11 shouldBe('MediaRecorder.canRecordMimeType("audio/invalid")', '""');
12 shouldBe('MediaRecorder.canRecordMimeType("audio/webm;codecs="opus"")', '"maybe" ');
13
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698