<DOCTYPE html>
<html>
<body>
<p>Tests that a JPEG image served with `Content-Type: image/jpg` gets rendered, and not downloaded.</p>
<iframe id="testFrame" src="about:blank"></iframe>
<script>
if (window.testRunner)
    testRunner.waitUntilDone();

let testFrame = document.getElementById("testFrame");
testFrame.src = "/resources/load-and-stall.py?name=square20.jpg&mimeType=image%2Fjpg";
testFrame.onload = () => {
    if (window.testRunner)
        testRunner.notifyDone();
};
</script>
</body>
</html>
