blob: 27b533719599eca79b013eaa91d30e65503a9e36 [file] [log] [blame]
<img style="background-color: blue" >
<script>
if (window.testRunner) {
testRunner.dumpAsText(pixelTest = true);
testRunner.waitUntilDone();
}
function loadAndStall()
{
return "http://127.0.0.1:8000/resources/load-and-stall.php";
}
function webpImage()
{
return "?name=../../../fast/images/resources/test.webp&mimeType=image%2Fwebp";
}
function testDone()
{
if (window.testRunner) testRunner.notifyDone();
}
function runTest()
{
var image = document.getElementsByTagName('img')[0];
image.src = loadAndStall() + webpImage() + "&stallAt=2400&stallFor=60";
setTimeout(testDone, 500);
}
setTimeout(runTest, 1);
</script>