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

Side by Side Diff: LayoutTests/media/video-currentTime-before-loadmetadata-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>
4 </head>
5 <body>
6 <video controls id="video"></video>
7 <script src=media-file.js></script>
8 <script src=video-test.js></script>
9 <script>
10 video = document.getElementById('video');
11
12 video.src = findMediaFile("video", "content/test") + "#t=2";
13 testExpected("video.currentTime", 0);
14 video.currentTime = 1;
15
16 waitForEvent('loadedmetadata', function()
17 {
18 testExpected("video.currentTime", 1);
19 });
20
21 waitForEventAndEnd('seeked');
22 </script>
23 <p>Test currentTime values when setting while HAVE_NOTHING for media fra gment URI.</p>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698