Re: [w3ctag/design-reviews] OffscreenCanvas new commit() and DedicatedWorker.requestAnimationFrame (#288)

The one thing of note here is that `requestAnimationFrame()` and `cancelAnimationFrame()` will only function in dedicated worker agents that are part of an agent cluster which includes a similar-origin window agent. Otherwise they'll throw. At least, as currently proposed.

An alternative could be that we don't expose them in agent clusters that contain a service worker agent or shared worker agent, but that would require more IDL infrastructure.

Noting this here as it sets some architectural precedent. (At least, I'm not aware of other APIs needing this.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/288#issuecomment-398672236

Received on Wednesday, 20 June 2018 08:44:20 UTC