<!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>
