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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-controller-media-fragment-uri-initial-playback-position.html

Issue 1373423003: Remove MediaController (already diabled by REF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update web-platform-tests expectations Created 5 years, 1 month 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 for media controller when media element is added after a media fragment URI.</title>
5 </head>
6 <body>
7 <video></video>
8 <video></video>
9 <script src=media-file.js></script>
10 <script src=video-test.js></script>
11 <script>
12 videos = document.getElementsByTagName("video");
13 video = videos[0];
14 video2 = videos[1];
15
16 var src = findMediaFile("video", "content/test");
17 video.src = src + "#t=2";
18 video.mediaGroup = "group";
19 video2.mediaGroup = "group";
20 controller = video.controller;
21
22 video.addEventListener("loadeddata", function() {
23 testExpected("video.currentTime", 2);
24 testExpected("video2.currentTime", 0);
25 video2.src = src;
26 });
27
28 video2.addEventListener("loadeddata", function() {
29 testExpected("video.currentTime", 2);
30 testExpected("video2.currentTime", 2);
31 endTest();
32 })
33 </script>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698