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

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

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>test playbackRate and defaultPlaybackRate</title> 4 <title>test playbackRate and defaultPlaybackRate</title>
5 <script src=media-file.js></script> 5 <script src=media-file.js></script>
6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
7 (Please avoid writing new tests using video-test.js) -->
6 <script src=video-test.js></script> 8 <script src=video-test.js></script>
7 <script> 9 <script>
8 var rateChangeCount = 0; 10 var rateChangeCount = 0;
9 11
10 function ratechange() 12 function ratechange()
11 { 13 {
12 consoleWrite("*** checking rates after event"); 14 consoleWrite("*** checking rates after event");
13 switch (++rateChangeCount) 15 switch (++rateChangeCount)
14 { 16 {
15 case 1: 17 case 1:
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 112
111 <body onload="start()"> 113 <body onload="start()">
112 114
113 <video controls > </video> 115 <video controls > </video>
114 <ol> 116 <ol>
115 <li>'playbackRate' should not change when play() is called.</li> 117 <li>'playbackRate' should not change when play() is called.</li>
116 <li>'playbackRate' and 'defaultPlaybackRate' should always return th e last value set.</li> 118 <li>'playbackRate' and 'defaultPlaybackRate' should always return th e last value set.</li>
117 </ol> 119 </ol>
118 </body> 120 </body>
119 </html> 121 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698