Skip to content

Commit

Permalink
Turn issue into note, as workers have their own policy container
Browse files Browse the repository at this point in the history
  • Loading branch information
kenchris committed Nov 22, 2024
1 parent e879d65 commit 1726daf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,9 @@ <h3>The <dfn>observe()</dfn> method</h3>
feature=] token "compute-pressure", return [=a promise rejected with=] {{NotAllowedError}}.
</li>
</ol>
<aside class="issue">
<a href="https://github.com/w3c/compute-pressure/issues/110">
Permission policy does not support workers directly yet #110</a>, so they cannot be set per
individual worker, so for now we consult the policy for all owning documents. For shared
workers this means that all owning documents have to have the policy enabled, which should
be easy to coordinate as shared workers require same origin.
<aside class="note">
Workers have their own [=WorkerGlobalScope/policy container=] which can be set via HTTP
headers. See the example in [[[#policy-control]]].
</aside>
</li>
</li>
Expand Down

0 comments on commit 1726daf

Please sign in to comment.