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

Add user activation set to bounce tracking record #70

Merged
merged 8 commits into from
Oct 21, 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: 8 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec: RFC6265; urlPrefix: https://tools.ietf.org/html/rfc6265/
text: cookie store; url: section-5.3
text: domain-match; url: section-5.1.3
text: domain attribute; url: section-5.2.3
spec: RFC7234; urlPrefix: https://tools.ietf.org/html/rfc7234/
spec: RFC9111; urlPrefix: https://tools.ietf.org/html/rfc9111/
type: dfn
text: network cache; url: section-2
spec: PARTITIONED-COOKIES; urlPrefix: https://datatracker.ietf.org/doc/html/draft-cutler-httpbis-partitioned-cookies#
Expand Down Expand Up @@ -363,6 +363,8 @@ A <dfn>bounce tracking record</dfn> is a [=struct=] whose items are:
<dd>A [=set=] of [=sites=]' [=hosts=]. All server-side and client-side redirects hit during this [=extended navigation=].</dd>
<dt><dfn>storage access set</dfn></dt>
<dd>A [=set=] of [=sites=]' [=hosts=]. All sites which accessed storage during this [=extended navigation=].</dd>
<dt><dfn>user activation set</dfn></dt>
<dd>A [=set=] of [=sites=]' [=hosts=]. All sites which received a user activation during this [=extended navigation=].</dd>
</dl>

<h4 id="bounce-tracking-mitigations-data-model-constants">Constants</h4>
Expand Down Expand Up @@ -415,6 +417,9 @@ the following steps:
1. Set [=user activation map=][|host|] to |topDocument|'s
[=relevant settings object=]'s
[=environment settings object/current wall time=].
1. If |navigable|'s [=top-level traversable/bounce tracking record=] is not null:
1. [=set/Append=] |host| to |navigable|'s [=top-level traversable/bounce tracking record=]'s
[=bounce tracking record/storage access set=].

</div>

Expand Down Expand Up @@ -503,6 +508,8 @@ Note: This includes the case where the current navigation was initiated by anoth
1. Run [=record stateful bounces for bounce tracking=] given |navigable|'s [=navigable/active document=]'s [=relevant global object=].
1. Set |navigable|'s [=top-level traversable/bounce tracking record=] to a new [=bounce tracking record=] with
[=bounce tracking record/initial host=] set to |initialHost|.
1. [=set/Append=] |initialHost| to |navigable|'s [=top-level traversable/bounce tracking record=]'s
[=bounce tracking record/user activation set=].
1. Otherwise, add |initialHost| to |navigable|'s [=top-level traversable/bounce tracking record=]'s [=bounce tracking record/bounce set=].

</div>
Expand Down