-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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 is also available in Dedicated Workers #1519
Comments
Yes the location is a bit messy. @chrisdavidmills How would this normally be fixed? My thought is that these should move below Probably also a comment in https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API#worker_global_contexts_and_functions We can support the document move in using the files/en_us/_redirects.txt Bigger problem is perhaps example code for workers. Could be deferred to a second step. |
@ddbeck The methods How does that get handled in BCD? Do the methods simply get added to Or is it a matter of there being a separate |
Fixed in #23801 |
@chrisdavidmills commented on Mon Oct 05 2020
@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: