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

Side by Side Diff: third_party/WebKit/LayoutTests/media/avtrack/audio-track-properties.html

Issue 1735803002: Implemented passing media track info from ffmpeg into blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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>
2 <html>
3 <head>
4 <title>AudioTrack properties read from input stream metadata</title>
5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../media-file.js"></script>
8 </head>
9 <body>
10 <div id="log"></div>
fs 2016/02/25 11:40:39 You shouldn't need this. Ditto for <html>, <head>
servolk 2016/02/25 18:14:23 Are you sure? For some reason all other HTML files
fs 2016/02/25 18:36:40 I don't care greatly, but personally I think it's
philipj_slow 2016/02/26 11:42:56 FWIW, I always go with minimal markup and minimal
11 <script>
12 async_test(function(t)
13 {
14 var e = document.createElement("audio");
15 e.src = "../content/test.mp4";
16
17 e.onloadedmetadata = t.step_func(function()
fs 2016/02/25 11:40:39 I think you could use step_func_done here and ditc
servolk 2016/02/25 18:14:23 Done.
18 {
19 assert_equals(e.audioTracks.length, 1, "audioTracks.length") ;
20 assert_true(e.audioTracks[0].enabled, "audioTrack.enabled");
21 assert_equals(e.audioTracks[0].kind, "main", "audioTrack.kin d");
22 assert_equals(e.audioTracks[0].label, "", "audioTrack.label" );
23 assert_equals(e.audioTracks[0].language, "eng", "audioTrack. language");
24 t.done();
25 });
26 }, "AudioTrack properties read from input stream metadata");
fs 2016/02/25 11:40:39 This will be picked up from the <title>.
servolk 2016/02/25 18:14:23 Done.
27 </script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698