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

Side by Side Diff: LayoutTests/media/media-controller-media-fragment-uri.html

Issue 539103002: Seeking media fragment URI before loadeddata event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@HAVE_NOTHING
Patch Set: Addressing comments 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 <html>
3 <head></head>
philipj_slow 2014/09/11 14:38:26 You don't need an empty <head>. If you like, don't
amogh.bihani 2014/09/12 11:02:23 Ummm... I was advised by srirama.m@ to add the <ht
philipj_slow 2014/09/16 12:27:15 In the style of an existing test is OK. I happen t
4 <body>
5 <video controls mediaGroup="group"></video>
6 <video controls mediaGroup="group"></video>
7 <script src=media-file.js></script>
8 <script src=video-test.js></script>
9 <script>
10 videos = document.getElementsByTagName('video');
11 video = videos[0];
12 video2 = videos[1];
13 controller = video.controller;
14
15 var src = findMediaFile("video", "content/test");
16 video.src = src + "#t=2";
17 video2.src = src;
18 testExpected("video.currentTime", 0);
19 testExpected("video2.currentTime", 0);
20
21 controller.addEventListener('loadedmetadata', function()
22 {
23 testExpected("video.currentTime", 2);
24 testExpected("video2.currentTime", 2);
25 testExpected("controller.currentTime", 2);
26 });
27
28 waitForEvent('seeked');
philipj_slow 2014/09/11 14:38:26 This test is timing out, should use waitForEventAn
amogh.bihani 2014/09/12 11:02:23 Done.
29 </script>
30 <p>Test currentTime of media controller when one of the element has init ial start time greater than 0.</p>
philipj_slow 2014/09/11 14:38:28 Please move this description to the top, or <title
amogh.bihani 2014/09/12 11:02:23 Done.
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698