This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
requestAnimationFrame is also available in Dedicated Workers #3749
Labels
1 hour task
Slightly more involved issue; might take an hour or possibly two.
Content:WebAPI
For content triage purposes: This is related to WebAPI content
@Kaiido commented on Mon Oct 05 2020
Content Issue
URLs of page you are seeing the problem on:
Details
requestAnimationFrame
andcancelAnimationFrame
used to beWindow
only methods, but it has recently been added toDedicatedWorkerGlobalScope
too. https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animationframeproviderI guess the page should now be
Web/API/WindowOrWorkerGlobalScope/requestAnimationFrame
, but I fear this would break any link to the current/Web/API/window/requestAnimationFrame
. So I'm not sure how it should get handled.Also, compat-data should probably be updated (currently these methods are supported in Blink only).
The text was updated successfully, but these errors were encountered: