| Index: LayoutTests/http/tests/security/video-cross-origin-via-dom.html | 
| diff --git a/LayoutTests/http/tests/security/video-cross-origin-readback.html b/LayoutTests/http/tests/security/video-cross-origin-via-dom.html | 
| similarity index 79% | 
| copy from LayoutTests/http/tests/security/video-cross-origin-readback.html | 
| copy to LayoutTests/http/tests/security/video-cross-origin-via-dom.html | 
| index b14800f9858eba5a7396b3d8552261417b4f7216..97884348bf2c61c45e345eb12f2067af604bbd90 100644 | 
| --- a/LayoutTests/http/tests/security/video-cross-origin-readback.html | 
| +++ b/LayoutTests/http/tests/security/video-cross-origin-via-dom.html | 
| @@ -1,3 +1,4 @@ | 
| +<!doctype html> | 
| <html> | 
| <body onload="start()"> | 
| <script src=../../media-resources/video-test.js></script> | 
| @@ -19,15 +20,15 @@ | 
| }); | 
|  | 
| function start() { | 
| -            findMediaElement(); | 
| +            mediaElement = video = document.createElement("video"); | 
| +            mediaElement.crossOrigin = "anonymous"; | 
| +            document.body.appendChild(mediaElement); | 
| var mediaFile = findMediaFile("video", "../../media/resources/test"); | 
| var type = mimeTypeForExtension(mediaFile.split('.').pop()); | 
| -            video.src = "http://localhost:8080/security/resources/video-cross-origin-allow.php?name=" + mediaFile + "&type=" + type; | 
| +            video.src = "http://localhost:8080/security/resources/video-cross-origin-allow.php?no-preflight&name=" + mediaFile + "&type=" + type; | 
| video.play(); | 
| } | 
| </script> | 
| - | 
| -    <video crossorigin></video> | 
| <canvas></canvas> | 
| </body> | 
| </head> | 
|  |