+2012-09-19 Noel Gordon <noel.gordon@gmail.com>
+
+ Add partial load test for PNG images with no alpha
+ https://bugs.webkit.org/show_bug.cgi?id=96064
+
+ Reviewed by Simon Fraser.
+
+ Partial load test for a PNG image with no alpha: receive a partial number of image
+ bytes and stall forever. The partial image should be decoded and drawn and the green
+ <img> background should be visible.
+
+ * fast/images/resources/lenna.png: Added: this PNG image has no alpha.
+ * http/tests/images/png-partial-load-no-alpha-expected.png: Added.
+ * http/tests/images/png-partial-load-no-alpha-expected.txt: Added.
+ * http/tests/images/png-partial-load-no-alpha.html: Added.
+ * platform/chromium/http/tests/images/png-partial-load-no-alpha-expected.png: Added.
+ * platform/mac/TestExpectations: Add an IMAGE failure for the mac port.
+
2012-09-19 Simon Fraser <simon.fraser@apple.com>
Attempt to unskip some tests by removing them from the Skipped list.
--- /dev/null
+<img style="background: green" >
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText(true);
+ testRunner.waitUntilDone();
+}
+
+function loadAndStall()
+{
+ return "http://127.0.0.1:8000/resources/load-and-stall.php";
+}
+
+function pngImage()
+{
+ return "?name=../../../fast/images/resources/lenna.png&mimeType=image%2Fpng";
+}
+
+function testDone()
+{
+ if (window.testRunner)
+ testRunner.notifyDone();
+}
+
+function runTest()
+{
+ document.querySelector("img").src = loadAndStall() + pngImage() + "&stallAt=55297&stallFor=60";
+ setTimeout(testDone, 500);
+}
+
+setTimeout(runTest, 0);
+</script>