Skip to content

Commit 50e1b0e

Browse files
source time for report TTL
1 parent ef50865 commit 50e1b0e

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

index.bs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,8 @@ An attribution report is a [=struct=] with the following items:
10461046
:: A [=suitable origin=].
10471047
: <dfn>report time</dfn>
10481048
:: A [=moment=].
1049+
: <dfn>source time</dfn>
1050+
:: A [=moment=].
10491051
: <dfn>trigger time</dfn>
10501052
:: A [=moment=].
10511053
: <dfn>external ID</dfn>
@@ -1118,8 +1120,6 @@ An <dfn>aggregatable report</dfn> is an [=attribution report=] with the followin
11181120
An <dfn>aggregatable attribution report</dfn> is an [=aggregatable report=] with the following additional items:
11191121

11201122
<dl dfn-for="aggregatable attribution report">
1121-
: <dfn>source time</dfn>
1122-
:: A [=moment=].
11231123
: <dfn>source registration time configuration</dfn>
11241124
:: An [=aggregatable source registration time configuration=].
11251125
: <dfn>is null report</dfn> (default false)
@@ -1490,6 +1490,10 @@ generated for an [=attribution trigger=] whose [=attribution trigger/aggregatabl
14901490
is "<code>[=aggregatable source registration time configuration/include=]</code>". If [=automation local testing mode=] is true,
14911491
this is 0.
14921492

1493+
<dfn>Max attribution report time-to-live</dfn> is a positive [=duration=] that
1494+
controls the max amount of time an attribution report can exist before no longer
1495+
able to being sent.
1496+
14931497
<dfn>Max event-level reports per attribution destination</dfn> is a positive integer that
14941498
controls how many [=event-level reports=] can be in the
14951499
[=event-level report cache=] per [=site=] in
@@ -4509,6 +4513,8 @@ a 64-bit integer priority |priority|, and a [=trigger spec map=] [=map/entry=]
45094513
:: |source|'s [=attribution source/attribution destinations=].
45104514
: [=event-level report/report time=]
45114515
:: |reportTime|
4516+
: [=event-level report/source time=]
4517+
:: |source|'s [=attribution source/source time=].
45124518
: [=event-level report/trigger priority=]
45134519
:: |priority|.
45144520
: [=event-level report/trigger time=]
@@ -4682,8 +4688,10 @@ To <dfn>queue reports for delivery</dfn> given a [=set=] of
46824688
forms of interruption, including shutdown, the user agent may need to
46834689
persist reports that are in the process of being sent in some other
46844690
storage.
4685-
1. If [=current wall time=] - |report|'s [=attribution report/trigger time=]
4686-
is less than or equal to 30 days, [=list/Append=] |report| to
4691+
1. Let |reportLifeTime| be the lesser of |report|'s
4692+
[=attribution report/source time=] and [=attribution report/trigger time=].
4693+
1. If [=current wall time=] - |reportLifeTime| is less than or equal to
4694+
[=Max attribution report time-to-live=], [=list/Append=] |report| to
46874695
|reportsToSend|.
46884696
1. [=shuffle a list|Shuffle=] |reportsToSend|.
46894697

0 commit comments

Comments
 (0)