Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / images / jpeg-partial-load.html
blob3cc06c255df9c0c7292acce2ef90478d92f97d12
1 <img style="background: green" >
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsTextWithPixelResults();
5 testRunner.waitUntilDone();
8 function loadAndStall()
10 return "http://127.0.0.1:8000/resources/load-and-stall.php";
13 function jpegImage()
15 return "?name=../../../fast/images/resources/lenna.jpg&mimeType=image%2Fjpeg";
18 function testDone()
20 window.testRunner && testRunner.notifyDone();
23 function runTest()
25 document.querySelector("img").src = loadAndStall() + jpegImage() + "&stallAt=14337&stallFor=60";
26 setTimeout(testDone, 500);
29 window.onload = function() {
30 setTimeout(runTest, 0);
32 </script>