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

Side by Side Diff: LayoutTests/http/tests/security/video-cross-origin-readback.html

Issue 10536097: Merge 119742 - Plumb CORS attribute information from HTMLMediaElement to media players so it can be… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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 <body onload="start()"> 2 <body onload="start()">
3 <script src=../../media-resources/video-test.js></script> 3 <script src=../../media-resources/video-test.js></script>
4 <script src=../../media-resources/media-file.js></script> 4 <script src=../../media-resources/media-file.js></script>
5 <script> 5 <script>
6 waitForEvent('error', function() { 6 waitForEvent('error', function() {
7 failTest("error: " + JSON.stringify(video.error)); 7 failTest("error: " + JSON.stringify(video.error));
8 }); 8 });
9 9
10 waitForEvent('playing', function() { 10 waitForEvent('playing', function() {
(...skipping 13 matching lines...) Expand all
24 var type = mimeTypeForExtension(mediaFile.split('.').pop()); 24 var type = mimeTypeForExtension(mediaFile.split('.').pop());
25 video.src = "http://localhost:8080/security/resources/video-cross-or igin-allow.php?name=" + mediaFile + "&type=" + type; 25 video.src = "http://localhost:8080/security/resources/video-cross-or igin-allow.php?name=" + mediaFile + "&type=" + type;
26 video.play(); 26 video.play();
27 } 27 }
28 </script> 28 </script>
29 29
30 <video crossorigin></video> 30 <video crossorigin></video>
31 <canvas></canvas> 31 <canvas></canvas>
32 </body> 32 </body>
33 </head> 33 </head>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698