Skip to content

Commit

Permalink
Remove 'update the rendering' hook for service/shared worker (gpuweb#…
Browse files Browse the repository at this point in the history
…4479)

* Remove 'update the rendering' hook for service/shared worker

* Apply suggestions from code review

---------

Co-authored-by: Kai Ninomiya <[email protected]>
  • Loading branch information
beaufortfrancois and kainino0x authored Feb 5, 2024
1 parent 23b9597 commit e44f622
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -13550,11 +13550,14 @@ specified points.

- "update the rendering or user interface of that `Document`"
- "update the rendering of that dedicated worker"
- "update the rendering of that service worker"
- "update the rendering of that shared worker"

Issue(whatwg/html#10112): HTML doesn't define "update the rendering" for service
and shared workers yet. Update this text when it does.
Note:
Service and Shared workers do not have "update the rendering" steps
because they cannot render to user-visible canvases.
{{AnimationFrameProvider/requestAnimationFrame()}} is not exposed in
{{ServiceWorkerGlobalScope}} and {{SharedWorkerGlobalScope}}, and
{{OffscreenCanvas}}es from {{HTMLCanvasElement/transferControlToOffscreen()}}
[cannot be sent to these workers](https://github.com/whatwg/html/issues/10112).

Run the following steps:

Expand Down

0 comments on commit e44f622

Please sign in to comment.