You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
This is necessary for any applications that wish to perform tasks such as animation rendering off the main thread, perhaps in conjunction with OffscreenCanvas.
You say "perhaps", but is there any use-case for this without OffscreenCanvas?
Thank you for proposing requestAnimationFrame in WorkerGlobalScope for inclusion in Interop 2023.
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!
Activity
foolip commentedon Oct 17, 2022
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?
Ms2ger commentedon Oct 17, 2022
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
gsnedders commentedon Oct 26, 2022
You say "perhaps", but is there any use-case for this without OffscreenCanvas?
foolip commentedon Feb 1, 2023
Thank you for proposing
requestAnimationFrameinWorkerGlobalScopefor inclusion in Interop 2023.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.