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

Side by Side Diff: LayoutTests/media/video-positive-start-time.html

Issue 544173012: Add LayoutTest for media with positive start times. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Style. Created 6 years, 3 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
3 <body onload="start()">
4 <p>Load a video with a postive start time, ensure video.currentTime is 4.253</ p>
5 <video></video>
6 </body>
7
8 <script src="video-test.js"></script>
philipj_slow 2014/09/17 11:25:36 You can't really put anything after </body>, the H
DaleCurtis 2014/09/18 01:54:04 Done. Thanks for the drive-by!
9 <script src="media-file.js"></script>
10 <script>
11 waitForEventOnce('loadeddata', function() {
12 testExpected('video.currentTime', 4.253, '==');
13 // FIXME: Once Chrome correctly exposes seekable ranges for media with
14 // positive start times, verify video.seekable.start(0) here.
15 endTest();
16 });
17
18 function start() {
19 video.src = 'resources/test-positive-start-time.webm';
20 }
21 </script>
OLDNEW
« no previous file with comments | « LayoutTests/media/resources/test-positive-start-time.webm ('k') | LayoutTests/media/video-positive-start-time-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698