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

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: tommi@s comments. Added dummy Source/platform/exported/WebMediaRecorderHandlerClient.cpp 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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
esprehn 2015/08/12 22:27:34 ditto for the test
mcasas 2015/08/13 09:31:50 Done.
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 <script>
10 description("This test check MediaRecorder.canRecordMimeType().");
11
12 // Check one Video format that should be recordable and another that should be.
13 // Supported formats return "maybe". Same for Audio.
14 // http://w3c.github.io/mediacapture-record/MediaRecorder.html#methods
15 shouldBe('MediaRecorder.canRecordMimeType("video/invalid")', '""');
16 shouldBe('MediaRecorder.canRecordMimeType("video/webm;codecs="vp8")', '"maybe"') ;
17
18 shouldBe('MediaRecorder.canRecordMimeType("audio/invalid")', '""');
19 shouldBe('MediaRecorder.canRecordMimeType("audio/webm;codecs="opus"")', '"maybe" ');
20
21 //window.jsTestIsAsync = true;
22 //window.successfullyParsed = true;
23 </script>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698