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

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: 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>
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"') ;
Guido Urdaneta 2015/07/28 12:28:26 You should fix the syntax error here
mcasas 2015/07/30 13:20:36 canRecordMimeType() gets a String as parameter and
17
18 shouldBe('MediaRecorder.canRecordMimeType("audio/invalid")', '""');
19 shouldBe('MediaRecorder.canRecordMimeType("audio/webm;codecs="opus"")', '"maybe" ');
Guido Urdaneta 2015/07/28 12:28:26 and here
mcasas 2015/07/30 13:20:36 Ditto.
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