Bug 257098 - Allow WorkerAnimationController to be overridden by WebKit
Summary: Allow WorkerAnimationController to be overridden by WebKit
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks: 232918
  Show dependency treegraph
 
Reported: 2023-05-20 18:07 PDT by Matt Woodrow
Modified: 2023-05-27 18:08 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 Matt Woodrow 2023-05-20 18:07:59 PDT
WebCore::WorkerAnimationController controls requestAnimationCallback timing for Web Worker, and is currently implemented in WebCore, using a Timer.

The WebKit layer should be able to override this, with platform specific behaviour, including Display Link callbacks on Mac/iOS.
Comment 1 Matt Woodrow 2023-05-20 18:10:24 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14153
Comment 2 Radar WebKit Bug Importer 2023-05-27 18:08:15 PDT
<rdar://problem/109936441>