Bug 262477 - [WPE] Timers are not being scheduled when animations take all the CPU
Summary: [WPE] Timers are not being scheduled when animations take all the CPU
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-02 04:05 PDT by Loïc Yhuel
Modified: 2023-10-02 04:07 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Yhuel 2023-10-02 04:05:18 PDT
The ThreadedDisplayRefreshMonitor can take time (layout, ...) and has an higher priority than the main SharedTimer. This means that animations could prevent the timers from executing, if the JS relies on this to stop the animation the page appears to be stuck.
Comment 1 Loïc Yhuel 2023-10-02 04:07:38 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18491