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

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

Powered by Google App Engine
This is Rietveld 408576698