OLD | NEW |
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 | 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 src="../resources/js-test.js"></script> | 8 <script src="../resources/js-test.js"></script> |
9 <script> | 9 <script> |
10 var ctx; | 10 var ctx; |
11 var width; | 11 var width; |
12 var height; | 12 var height; |
13 | 13 |
14 function canplaythrough() | 14 function canplaythrough() |
15 { | 15 { |
(...skipping 21 matching lines...) Expand all Loading... |
37 </script> | 37 </script> |
38 </head> | 38 </head> |
39 | 39 |
40 <body onload="start()" > | 40 <body onload="start()" > |
41 <p id="description"></p> | 41 <p id="description"></p> |
42 <video controls></video> | 42 <video controls></video> |
43 <canvas width="160" height="120" ></canvas> | 43 <canvas width="160" height="120" ></canvas> |
44 <div id="console"></div> | 44 <div id="console"></div> |
45 </body> | 45 </body> |
46 </html> | 46 </html> |
OLD | NEW |