Skip to content

Add new environment settings object field "cross site ancestry" for SameSite cookies work #1775

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3065,6 +3065,11 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
:: Return |serviceWorker|'s [=service worker/script url=].
: The [=environment settings object/origin=]
:: Return its registering [=/service worker client=]'s [=environment settings object/origin=].
: The [=environment settings object/cross site ancestry=]
:: Return its registering [=/service worker client=]'s [=environment settings object/cross site ancestry=].
<div class="note">
Note: If service workers are not partitioned by the [=environment settings object/cross site ancestry=], clients must include logic to use the initial [=/http fetch=]'s [=/request=]'s [=request/client=]'s [=environment settings object/cross site ancestry=] when determining the "<code>SameSite</code>" mode.
</div>
: The [=environment settings object/policy container=]
:: Return |workerGlobalScope|'s [=WorkerGlobalScope/policy container=].
: The [=environment settings object/time origin=]
Expand Down