| 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 <script src=video-test.js></script> | 5 <script src=video-test.js></script> |
| 6 <script src="../resources/js-test.js"></script> | 6 <script src="../resources/js-test.js"></script> |
| 7 <script> | 7 <script> |
| 8 var ctx; | 8 var ctx; |
| 9 var width; | 9 var width; |
| 10 var height; | 10 var height; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 var mediaFile = findMediaFile("video", "content/counting"); | 30 var mediaFile = findMediaFile("video", "content/counting"); |
| 31 disableFullTestDetailsPrinting(); | 31 disableFullTestDetailsPrinting(); |
| 32 runSilently("var source = document.createElement('source'); sour
ce.src = '" + mediaFile + "'; video.appendChild(source)"); | 32 runSilently("var source = document.createElement('source'); sour
ce.src = '" + mediaFile + "'; video.appendChild(source)"); |
| 33 enableFullTestDetailsPrinting(); | 33 enableFullTestDetailsPrinting(); |
| 34 } | 34 } |
| 35 </script> | 35 </script> |
| 36 </head> | 36 </head> |
| 37 | 37 |
| 38 <body onload="start()" > | 38 <body onload="start()" > |
| 39 <p id="description"></p> | 39 <p id="description"></p> |
| 40 <video controls="true"></video> | 40 <video controls></video> |
| 41 <canvas width="160" height="120" ></canvas> | 41 <canvas width="160" height="120" ></canvas> |
| 42 <div id="console"></div> | 42 <div id="console"></div> |
| 43 </body> | 43 </body> |
| 44 </html> | 44 </html> |
| OLD | NEW |