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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-before-start-time.html

Issue 2268373002: clean up media tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>video with a postive start time and a seek before start time</title> 2 <title>video with a postive start time and a seek before start time</title>
3 <script src="../resources/testharness.js"></script> 3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script> 4 <script src="../resources/testharnessreport.js"></script>
5 <div id="log"></div> 5 <video></video>
6 <video controls></video>
7 <script> 6 <script>
8 async_test(function(t) { 7 async_test(function(t) {
9 var video = document.querySelector('video'); 8 var video = document.querySelector('video');
10 9
11 video.onloadeddata = t.step_func(function() { 10 video.onloadeddata = t.step_func_done(function() {
12 assert_equals(video.currentTime, 3, 'currentTime'); 11 assert_equals(video.currentTime, 3, 'currentTime');
13 12
14 // FIXME: Once Chrome correctly exposes seekable ranges for media with 13 // FIXME: Once Chrome correctly exposes seekable ranges for media with
15 // positive start times, verify video.seekable.start(0) here. 14 // positive start times, verify video.seekable.start(0) here.
16 t.done();
17 }); 15 });
18 16
19 video.src = 'resources/test-positive-start-time.webm#t=2'; 17 video.src = 'resources/test-positive-start-time.webm#t=2';
20 }); 18 });
21 </script> 19 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-positive-start-time-seek-after-start-time.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698