| <!-- Trying to access a cross origin resource, but response does not contain CORS headers. |
| Video play back is expected to fail. --> |
| <script src=../../media-resources/video-test.js></script> |
| <script src=../../media-resources/media-file.js></script> |
| waitForEvent('error', function() { |
| waitForEvent('playing', function() { |
| failTest("Video stream access should not be granted"); |
| var mediaFile = findMediaFile("video", "../../media/resources/test"); |
| video.src = "http://localhost:8080/" + mediaFile; |
| <video crossorigin></video> |