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
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
My testing has shown that requestAnimationFrame functionality within nested web workers on Chromium browsers is not yet supported. Chromium browsers should instead be marked as partially compatible with this caveat for now.
What browsers does this problem apply to, if applicable?
Paraphrasing the spec, it mentions that one way requestAnimationFrame is considered supported is if its associated web worker initiator also supports requestAnimationFrame. In the above code snippet on Chromium browsers, the first web worker is always able to run requestAnimationFrame successfully while its nested web worker fails, thus contradicting the spec.
Do you have anything more you want to share?
No response
MDN URL
No response
MDN metadata
No response
The text was updated successfully, but these errors were encountered:
What type of issue is this?
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
My testing has shown that requestAnimationFrame functionality within nested web workers on Chromium browsers is not yet supported. Chromium browsers should instead be marked as partially compatible with this caveat for now.
What browsers does this problem apply to, if applicable?
Chromium (Chrome, Edge 79+, Opera, Samsung Internet)
What did you expect to see?
The functionality should work in accordance with the compatibility data.
Did you test this? If so, how?
Here is the code snippet I used to test for this functionality:
index.html
worker1.js
worker2.js
When it fails, it errors:
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
The current compatibility data, the spec, and the MDN page.
Paraphrasing the spec, it mentions that one way requestAnimationFrame is considered supported is if its associated web worker initiator also supports requestAnimationFrame. In the above code snippet on Chromium browsers, the first web worker is always able to run requestAnimationFrame successfully while its nested web worker fails, thus contradicting the spec.
Do you have anything more you want to share?
No response
MDN URL
No response
MDN metadata
No response
The text was updated successfully, but these errors were encountered: