-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requestAnimationFrame in WorkerGlobalScope #222
Comments
I see that the test here is tentative. @Ms2ger you added this in web-platform-tests/wpt#12293, do you know if it still needs to be tentative? |
Looks like the spec change merged in whatwg/html#3677 (Aug 27, 2018) and I marked it as tentative on Aug 3, 2018, so we'd only be four years late marking it not tentative |
You say "perhaps", but is there any use-case for this without OffscreenCanvas? |
Thank you for proposing We are pleased to let you know that this proposal was accepted as part of the Offscreen Canvas focus area. You can follow the progress of this Focus Area on the Interop 2023 dashboard. For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023! Posted on behalf of the Interop team. |
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
The text was updated successfully, but these errors were encountered: