[Webkit-unassigned] [Bug 173403] New: ImageDecoder: Gifs with infinite animation only play once very often

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 15 00:53:08 PDT 2017


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

            Bug ID: 173403
           Summary: ImageDecoder: Gifs with infinite animation only play
                    once very often
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org, magomez at igalia.com,
                    sabouhallawa at apple.com

It doesn't always happen, it's easier to reproduce when loading big files from the network, but it also depends on every file. The problem is that ImageFrameCache is caching the repetition count value always when the size is already available. In the case of gif files, the loop count value can be at any point of the image stream, so having the size available doesn't mean we also have the loop count. So, if the value is queried before it's available, the default value is cached (repeat once) and then always used. So, we need a way to only cache that value when it's really available.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170615/28920725/attachment.html>


More information about the webkit-unassigned mailing list