[Webkit-unassigned] [Bug 92470] Add more layout tests on image decoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 6 11:55:36 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=92470


Hin-Chung Lam <hclam at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at chromium.org




--- Comment #1 from Hin-Chung Lam <hclam at google.com>  2012-08-06 11:55:35 PST ---
I have investigated testing on image decoding. I think there are several problems in this area:

1. No testing for partially loaded (and decoded) images.

When an image is loading from the network image is partially decoded and rendered. There is no test for this scenario. Pixel test for this is not possible today because DRT requires image to be loaded before dumping anything, hence a stalled network condition results in test timeout.

2. No test for image decoding implementation

This is probably best done by unit test. Expected behavior of ImageDecoder and ImageSource APIs should best be tested with unit test. For example frameHasAlphaAtIndex, frameOrentationAtIndex, frameDurationAtIndex.

3. Testing for operation sequence

Extending to asynchronous image decoding and parallel image decoding the sequence of operations is very important. This again should best be done with unit test.

I would like to hear comments on how we should better testing the existing code and extend into asynchronous decoding.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list