WebPImageDecoder progressive decodes fail to decode valid images
authornoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Aug 2012 05:19:52 +0000 (05:19 +0000)
committernoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Aug 2012 05:19:52 +0000 (05:19 +0000)
commitbd80131f00c4c0f9b12f996fe0886f007ad35d38
tree89c68d5348df3e88c36c4ad456ee6b14b98f9158
parent7e52678ac6b9611187a8fdf679ca2cbb4238bbab
WebPImageDecoder progressive decodes fail to decode valid images
https://bugs.webkit.org/show_bug.cgi?id=74062

Reviewed by Adam Barth.

Add test for a partial image load, and a test for a complete image load with a
pause to cause a progressive/incremental webp image decode.

* fast/images/resources/large.webp: Added.
* http/tests/images/webp-partial-load-expected.txt: Added.
* http/tests/images/webp-partial-load.html: Added.
* http/tests/images/webp-progressive-load-expected.txt: Added.
* http/tests/images/webp-progressive-load.html: Added.
* platform/chromium-linux/http/tests/images/webp-partial-load-expected.png: Added.
Result differs because the linux DRT network layers returns partial encoded image
data from the cache layer in multiples of 2048 bytes until all data is received.
* platform/chromium/http/tests/images/webp-partial-load-expected.png: Added.
* platform/chromium/http/tests/images/webp-progressive-load-expected.png: Added.
* platform/efl/TestExpectations: This port does not support webp images.
* platform/gtk/TestExpectations: ditto.
* platform/mac/Skipped: ditto.
* platform/qt/Skipped: ditto.
* platform/win/Skipped: ditto.
* platform/wincairo/Skipped: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/images/resources/large.webp [new file with mode: 0644]
LayoutTests/http/tests/images/webp-partial-load-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/images/webp-partial-load.html [new file with mode: 0644]
LayoutTests/http/tests/images/webp-progressive-load-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/images/webp-progressive-load.html [new file with mode: 0644]
LayoutTests/platform/chromium-linux/http/tests/images/webp-partial-load-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium/http/tests/images/webp-partial-load-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium/http/tests/images/webp-progressive-load-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/mac/Skipped
LayoutTests/platform/qt/Skipped
LayoutTests/platform/win/Skipped
LayoutTests/platform/wincairo/Skipped