blob: ae9279d189b93fafebe934dbf1d9ebc5553d6dbd [file] [log] [blame]
<meta http-equiv="Content-Security-Policy" content="media-src 'none'">
<video controls></video>
<script src=../../media/media-file.js></script>
<script src=../../media/video-test.js></script>
<p>This test passes if it doesn't alert failure.</p>
<script>
var mediaFile = "../../media/" + findMediaFile("video", "content/test");
video.src = mediaFile;
waitForEvent('loadedmetadata', function () {
alert('FAIL');
endTest();
} );
video.load();
addEventListener('load', endTest, false);
</script>