Add partial load test for PNG images with no alpha
authornoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Sep 2012 04:27:46 +0000 (04:27 +0000)
committernoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Sep 2012 04:27:46 +0000 (04:27 +0000)
commit8ebbce77339e67b6ae5273511826d5b27a7d2620
treecbeb8736dd6b1d134335e1f2b48a34282004576f
parentfec83bec5be1e287bb56b5794d8f80b0db81a9a4
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/images/resources/lenna.png [new file with mode: 0644]
LayoutTests/http/tests/images/png-partial-load-no-alpha-expected.png [new file with mode: 0644]
LayoutTests/http/tests/images/png-partial-load-no-alpha-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/images/png-partial-load-no-alpha.html [new file with mode: 0644]
LayoutTests/platform/chromium/http/tests/images/png-partial-load-no-alpha-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/TestExpectations