blob: 819bde6f57c2318b33c89d159aec18f6e5827ead [file] [log] [blame]
<body>
<!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
(Please avoid writing new tests using video-test.js) -->
<script src=video-test.js></script>
<script>
waitForEvent('loadstart', function () {
video = mediaElement = document.getElementsByTagName('video')[0];
testExpected("relativeURL(video.currentSrc)", "content/test.mp4");
endTest();
} );
</script>
<video controls>
<!-- the media attribute should be ignored -->
<source src=content/test.mp4 media="print">
<source src=content/error.mpeg>
</video>