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

Side by Side Diff: LayoutTests/media/controls-timeline.html

Issue 219283004: Remove what remains of MediaControllerInterface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: earliest possible position FIXME Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/media/controls-timeline-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>media controls timeline</title>
5 <script src="media-file.js"></script>
6 <script src="media-controls.js"></script>
7 <script src="video-test.js"></script>
8 </head>
9 <body>
10 <video controls></video>
11 <script>
12 findMediaElement();
13 video.src = findMediaFile("video", "content/test");
14 waitForEvent("loadedmetadata", function()
15 {
16 testExpected("video.currentTime", 0);
17 testExpected("video.seeking", false);
18
19 // click the middle of the timeline
20 var coords = mediaControlsButtonCoordinates(video, "timeline");
21 eventSender.mouseMoveTo(coords[0], coords[1]);
22 eventSender.mouseDown();
23 eventSender.mouseUp();
24
25 testExpected("video.currentTime / video.duration", 0.4, '>');
26 testExpected("video.currentTime / video.duration", 0.6, '<');
27 testExpected("video.seeking", true);
28
29 endTest();
30 });
31 </script>
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/controls-timeline-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698