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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-pause-immediately.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Test pause() pauses the clock immediately</title> 3 <title>Test pause() pauses the clock immediately</title>
4 <script src=media-file.js></script> 4 <script src=media-file.js></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) --> 6 (Please avoid writing new tests using video-test.js) -->
7 <script src=video-test.js></script> 7 <script src=video-test.js></script>
8 <script> 8 <script>
9 var timeAfterPause; 9 var timeAfterPause;
10 10
11 function test() 11 function test()
12 { 12 {
13 findMediaElement(); 13 findMediaElement();
14 video.src = findMediaFile("video", "content/test"); 14 video.src = findMediaFile("video", "content/test");
15 waitForEvent("canplay", canplay); 15 waitForEvent("canplay", canplay);
(...skipping 26 matching lines...) Expand all
42 testExpected("(video.played.end(0) - timeAfterPause)", 0); 42 testExpected("(video.played.end(0) - timeAfterPause)", 0);
43 endTest(); 43 endTest();
44 } 44 }
45 </script> 45 </script>
46 </head> 46 </head>
47 <body onload="test()"> 47 <body onload="test()">
48 <p>Test that pausing the media element has an immediate effect on the cl ock.</p> 48 <p>Test that pausing the media element has an immediate effect on the cl ock.</p>
49 <video controls></video> 49 <video controls></video>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698