LayoutTests/ChangeLog

 12012-09-19 Noel Gordon <noel.gordon@gmail.com>
 2
 3 Add partial load test for PNG images with no alpha
 4 https://bugs.webkit.org/show_bug.cgi?id=96064
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Partial load test for a PNG image with no alpha: receive a partial number of image
 9 bytes and stall forever. The partial image should be decoded and drawn and the green
 10 <img> background should be visible.
 11
 12 * fast/images/resources/lenna.png: Added: this PNG image has no alpha.
 13 * http/tests/images/png-partial-load-no-alpha-expected.png: Added.
 14 * http/tests/images/png-partial-load-no-alpha-expected.txt: Added.
 15 * http/tests/images/png-partial-load-no-alpha.html: Added.
 16 * platform/chromium/http/tests/images/png-partial-load-no-alpha-expected.png: Added.
 17 * platform/mac/TestExpectations: Add an IMAGE failure for the mac port.
 18
1192012-09-18 Christophe Dumez <christophe.dumez@intel.com>
220
321 [EFL] Skip several JS tests that crash after r128802

LayoutTests/fast/images/resources/lenna.png


Added


LayoutTests/http/tests/images/png-partial-load-no-alpha-expected.png


Added

39b7ac826084738c50c01dbe51e8cf8f

LayoutTests/http/tests/images/png-partial-load-no-alpha-expected.txt

 1

LayoutTests/http/tests/images/png-partial-load-no-alpha.html

 1<img style="background: green" >
 2<script>
 3if (window.testRunner) {
 4 testRunner.dumpAsText(true);
 5 testRunner.waitUntilDone();
 6}
 7
 8function loadAndStall()
 9{
 10 return "http://127.0.0.1:8000/resources/load-and-stall.php";
 11}
 12
 13function pngImage()
 14{
 15 return "?name=../../../fast/images/resources/lenna.png&mimeType=image%2Fpng";
 16}
 17
 18function testDone()
 19{
 20 if (window.testRunner)
 21 testRunner.notifyDone();
 22}
 23
 24function runTest()
 25{
 26 document.querySelector("img").src = loadAndStall() + pngImage() + "&stallAt=55297&stallFor=60";
 27 setTimeout(testDone, 500);
 28}
 29
 30setTimeout(runTest, 0);
 31</script>

LayoutTests/platform/chromium/http/tests/images/png-partial-load-no-alpha-expected.png


Added

39b7ac826084738c50c01dbe51e8cf8f

LayoutTests/platform/mac/TestExpectations

@@BUGWK94458 SKIP : fast/events/message-port-constructor-for-deleted-document.html
345345
346346BUGWK95501 SKIP : http/tests/security/inactive-document-with-empty-security-origin.html = TIMEOUT
347347
 348// Paints black behind the test image instead of the expected green.
 349BUGWK95707 : http/tests/images/png-partial-load-no-alpha.html = IMAGE