Changeset 127101 in webkit


Ignore:
Timestamp:
Aug 29, 2012 10:19:52 PM (12 years ago)
Author:
noel.gordon@gmail.com
Message:

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.
Location:
trunk/LayoutTests
Files:
10 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r127100 r127101  
     12012-08-29  Noel Gordon  <noel.gordon@gmail.com>
     2
     3        WebPImageDecoder progressive decodes fail to decode valid images
     4        https://bugs.webkit.org/show_bug.cgi?id=74062
     5
     6        Reviewed by Adam Barth.
     7
     8        Add test for a partial image load, and a test for a complete image load with a
     9        pause to cause a progressive/incremental webp image decode.
     10
     11        * fast/images/resources/large.webp: Added.
     12        * http/tests/images/webp-partial-load-expected.txt: Added.
     13        * http/tests/images/webp-partial-load.html: Added.
     14        * http/tests/images/webp-progressive-load-expected.txt: Added.
     15        * http/tests/images/webp-progressive-load.html: Added.
     16        * platform/chromium-linux/http/tests/images/webp-partial-load-expected.png: Added.
     17        Result differs because the linux DRT network layers returns partial encoded image
     18        data from the cache layer in multiples of 2048 bytes until all data is received.
     19        * platform/chromium/http/tests/images/webp-partial-load-expected.png: Added.
     20        * platform/chromium/http/tests/images/webp-progressive-load-expected.png: Added.
     21        * platform/efl/TestExpectations: This port does not support webp images.
     22        * platform/gtk/TestExpectations: ditto.
     23        * platform/mac/Skipped: ditto.
     24        * platform/qt/Skipped: ditto.
     25        * platform/win/Skipped: ditto.
     26        * platform/wincairo/Skipped: ditto.
     27
    1282012-08-29  Adam Barth  <abarth@webkit.org>
    229
  • trunk/LayoutTests/platform/efl/TestExpectations

    r127054 r127101  
    569569BUGWKEFL SKIP : fast/canvas/canvas-toDataURL-webp.html = PASS
    570570BUGWKEFL SKIP : fast/images/webp-image-decoding.html = PASS
     571BUGWKEFL SKIP : http/tests/images/webp-partial-load.html = PASS
     572BUGWKEFL SKIP : http/tests/images/webp-progressive-load.html = PASS
    571573
    572574// Requires MEDIA_SOURCE support.
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r127084 r127101  
    223223BUGWKGTK SKIP : fast/canvas/canvas-toDataURL-webp.html = TEXT
    224224BUGWKGTK SKIP : fast/images/webp-image-decoding.html = TEXT
     225BUGWKGTK SKIP : http/tests/images/webp-partial-load.html = TEXT
     226BUGWKGTK SKIP : http/tests/images/webp-progressive-load.html = TEXT
    225227
    226228// DataTransferItems is not yet implemented.
  • trunk/LayoutTests/platform/mac/Skipped

    r127050 r127101  
    358358fast/canvas/canvas-toDataURL-webp.html
    359359fast/images/webp-image-decoding.html
     360http/tests/images/webp-partial-load.html
     361http/tests/images/webp-progressive-load.html
    360362
    361363# Times out because plugins aren't allowed to execute JS after NPP_Destroy has been called in WebKit1's OOP plugins implementation http://webkit.org/b/48929
  • trunk/LayoutTests/platform/qt/Skipped

    r126976 r127101  
    19561956fast/canvas/canvas-toDataURL-webp.html
    19571957fast/images/webp-image-decoding.html
     1958http/tests/images/webp-partial-load.html
     1959http/tests/images/webp-progressive-load.html
    19581960
    19591961# [Qt] fast/text/emphasis-overlap.html fails
  • trunk/LayoutTests/platform/win/Skipped

    r127067 r127101  
    13141314fast/canvas/canvas-toDataURL-webp.html
    13151315fast/images/webp-image-decoding.html
     1316http/tests/images/webp-partial-load.html
     1317http/tests/images/webp-progressive-load.html
    13161318
    13171319# Missing layoutTestController.findString() http://webkit.org/b/50234
  • trunk/LayoutTests/platform/wincairo/Skipped

    r126058 r127101  
    18291829fast/canvas/canvas-toDataURL-webp.html
    18301830fast/images/webp-image-decoding.html
     1831http/tests/images/webp-partial-load.html
     1832http/tests/images/webp-progressive-load.html
    18311833
    18321834# Missing layoutTestController.findString() http://webkit.org/b/50234
Note: See TracChangeset for help on using the changeset viewer.