blob: 7e39237c927aaa16a46ce2b0b6a76b970bd4de75 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src=../../media-resources/video-test.js></script>
<script>
function onLoadedMetaData()
{
logResult(false, "Fail");
if (testRunner)
testRunner.notifyDone();
}
function start()
{
setTimeout(function() {
logResult(true, "Pass");
if (testRunner)
testRunner.notifyDone();
}, 200);
}
</script>
</head>
<body onload="start()">
<p>Test for https://bugs.webkit.org/show_bug.cgi?id=114357 [GStreamer] Media attribute preload="none" is not honored</p>
<!-- This test refers to the video content statically because otherwise the original bug could not have been triggered. -->
<video preload="none" onloadedmetadata="onLoadedMetaData()">
<source src="resources/test.mp4" type="video/mp4" />
<source src="resources/test.ogv" type="video/ogg" />
</video>
</body>
</html>