Skip to content

Commit

Permalink
Add user activation set to bounce tracking record (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaliev authored Oct 21, 2024
1 parent 5c83f14 commit 25abc2b
Showing 1 changed file with 8 additions and 1 deletion.
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

0 comments on commit 25abc2b

Please sign in to comment.