| <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.py"; |
| } |
| |
| 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> |