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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-canvas-source.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 <html> 1 <html>
2 <head> 2 <head>
3 <title>Drawing to canvas using video with source element does not taint canvas</title> 3 <title>Drawing to canvas using video with source element does not taint canvas</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
6 (Please avoid writing new tests using video-test.js) -->
5 <script src=video-test.js></script> 7 <script src=video-test.js></script>
6 <script src="../resources/js-test.js"></script> 8 <script src="../resources/js-test.js"></script>
7 <script> 9 <script>
8 var ctx; 10 var ctx;
9 var width; 11 var width;
10 var height; 12 var height;
11 13
12 function canplaythrough() 14 function canplaythrough()
13 { 15 {
14 width = video.videoWidth / 2; 16 width = video.videoWidth / 2;
(...skipping 20 matching lines...) Expand all
35 </script> 37 </script>
36 </head> 38 </head>
37 39
38 <body onload="start()" > 40 <body onload="start()" >
39 <p id="description"></p> 41 <p id="description"></p>
40 <video controls></video> 42 <video controls></video>
41 <canvas width="160" height="120" ></canvas> 43 <canvas width="160" height="120" ></canvas>
42 <div id="console"></div> 44 <div id="console"></div>
43 </body> 45 </body>
44 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698