<body>
    <img id="img" width="500px" height="500px">
    <script>
        internals.settings.setIncompleteImageBorderEnabled(true);

        setTimeout(function () {
            img.src = "http://127.0.0.1:8000/resources/load-and-stall.py?name=../../../fast/images/resources/green-400x400.png&mimeType=image%2Fpng&stallAt=0&stallFor=100";

            testRunner.notifyDone();
        }, 0);

        testRunner.waitUntilDone();
    </script>
</body>
