Skip to content

requestAnimationFrame in WorkerGlobalScope #222

@svoisen

Description

@svoisen

Description

Allows use of requestAnimationFrame in web workers.

Currently this is unsupported in WebKit.

Rationale

This is necessary for any applications that wish to perform tasks such as animation rendering off the main thread, perhaps in conjunction with OffscreenCanvas.

Specification

https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#dom-animationframeprovider-requestanimationframe

Tests

https://wpt.fyi/results/workers/WorkerGlobalScope_requestAnimationFrame.tentative.worker.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions