blob: e3b75bf1acfe9d61cb74e73b5ee2526f3af38a63 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<iframe scrolling=no width=300 height=300></iframe>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpResourceResponseMIMETypes();
testRunner.dumpAsTextWithPixelResults();
}
function loadImage()
{
return "http://127.0.0.1:8000/resources/load-and-stall.php";
}
function xPngImage()
{
return "?name=../../../fast/images/resources/lenna.png&mimeType=" + encodeURIComponent("image/x-png");
}
function testDone()
{
window.testRunner && testRunner.notifyDone();
}
function runTests()
{
var _newLoc = loadImage() + xPngImage();
document.querySelector('iframe').src = _newLoc;
setTimeout(testDone, 500);
}
setTimeout(function(){runTests();},0);
</script>
</body>
</html>