| Summary: | ASSERTION FAILED: index == m_currentFrame && !m_currentFrame in WebCore::BitmapImage::imageFrameAvailableAtIndex | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> | ||||
| Component: | Images | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | ap, bfulgham, eric.carlson, jer.noble, realdawei, sabouhallawa, simon.fraser, tsavell, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Ryan Haddad
2018-07-19 17:24:25 PDT
This test was added with https://trac.webkit.org/changeset/231920 I think there is a bug here. For animated images, the expectation is the frames are decoded in order. No frames will be skipped even if decoding the current frame takes more than its duration period. This is because the frames of an animated images are just deltas of changes applied to the first frame. The animated image decoder has to decode frame(n - 1) to be able to decode frame(n). This may lead the image decoder to decode all the frames from 0 till n to be able to provide frame(n). For video images, the situation is different. If the network is slow or decoding the frames takes long time, it is oaky to drop some frames to achieve the goal which is: playing the video in a certain period of time. |