Skip to content
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

Turn issue into note, as workers have their own policy container #303

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading