[Webkit-unassigned] [Bug 244128] Add experimental feature to disable Bitmap image animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 25 13:47:21 PDT 2022


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

--- Comment #25 from Joshua Hoffman <jhoffman23 at apple.com> ---
(In reply to Simon Fraser (smfr) from comment #23)

> Can you share code with FrameView::resumeVisibleImageAnimations()?

I'll take a look!

(In reply to Simon Fraser (smfr) from comment #24)

> You're trying to maintain a flag here that reflects the state of all the
> images in all the subframes. That seems pretty hard: subframes can be
> created or destroyed, and in each subframe, images can be dynamically added
> or removed. How can you trust the state of this flag?

That's true. I'll remove this variable, and instead pass a boolean parameter into toggleAllAnimations to dictate the desired state of all animations so it's not tied to the state.

-- 
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/20220825/8f893d15/attachment.htm>


More information about the webkit-unassigned mailing list