You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+10-13Lines changed: 10 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -3874,22 +3874,20 @@ To <dfn>check if an aggregatable attribution report should be unconditionally se
3874
3874
3875
3875
<h3 id="should-block-attribution-for-rate-limits">Should attribution be blocked by rate limits</h3>
3876
3876
3877
-
To <dfn>check if attribution should be blocked by attribution rate limit</dfn> given an [=attribution trigger=] |trigger|, an [=attribution source=] |sourceToAttribute|, and a [=attribution rate-limit record/scope=] |rateLimitScope|:
3877
+
To <dfn>check if attribution should be blocked by attribution rate limit</dfn> given an [=attribution rate-limit record=] |newRecord|:
3878
3878
3879
3879
1. Let |matchingRateLimitRecords| be all [=attribution rate-limit records=] |record| of [=attribution rate-limit cache=] where all of the following are true:
3880
-
* |record|'s [=attribution rate-limit record/scope=] is |rateLimitScope|
3881
-
* |record|'s [=attribution rate-limit record/source site=] and |sourceToAttribute|'s [=attribution source/source site=] are equal
3882
-
* |record|'s [=attribution rate-limit record/attribution destination=] and |trigger|'s [=attribution trigger/attribution destination=] are equal
3883
-
* |record|'s [=attribution rate-limit record/reporting origin=] and |trigger|'s [=attribution trigger/reporting origin=] are [=same site=]
3884
-
* |record|'s [=attribution rate-limit record/time=] is greater than [=attribution rate-limit window=] before |trigger|'s [=attribution trigger/trigger time=]
3880
+
* |record|'s [=attribution rate-limit record/scope=] is |newRecord|'s [=attribution rate-limit record/scope=]
3881
+
* |record|'s [=attribution rate-limit record/source site=] and |newRecord|'s [=attribution rate-limit record/source site=] are equal
3882
+
* |record|'s [=attribution rate-limit record/attribution destination=] and |newRecord|'s [=attribution rate-limit record/attribution destination=] are equal
3883
+
* |record|'s [=attribution rate-limit record/reporting origin=] and |newRecord|'s [=attribution rate-limit record/reporting origin=] are [=same site=]
3884
+
* |record|'s [=attribution rate-limit record/time=] is greater than [=attribution rate-limit window=] before |newRecord|'s [=attribution rate-limit record/time=]
3885
3885
1. If |matchingRateLimitRecords|'s [=list/size=] is greater than or equal to [=max attributions per rate-limit window=], return <strong>blocked</strong>.
3886
3886
1. Return <strong>allowed</strong>.
3887
3887
3888
-
To <dfn>check if attribution should be blocked by rate limits</dfn> given an [=attribution trigger=] |trigger|, an [=attribution source=]
3889
-
|sourceToAttribute|, and an [=attribution rate-limit record=] |newRecord|:
3888
+
To <dfn>check if attribution should be blocked by rate limits</dfn> given an [=attribution rate-limit record=] |newRecord|:
3890
3889
3891
-
1. If the result of running [=check if attribution should be blocked by attribution rate limit=] with |trigger|, |sourceToAttribute|,
3892
-
and |newRecord|'s [=attribution rate-limit record/scope=] is <strong>blocked</strong>:
3890
+
1. If the result of running [=check if attribution should be blocked by attribution rate limit=] with |newRecord| is <strong>blocked</strong>:
3893
3891
1. Let |debugDataType| be "<code>[=trigger debug data type/trigger-event-attributions-per-source-destination-limit=]</code>".
3894
3892
1. If |newRecord|'s [=attribution rate-limit record/scope=] is "<code>[=rate-limit scope/aggregatable-attribution=]</code>",
3895
3893
set |debugDataType| to "<code>[=trigger debug data type/trigger-aggregate-attributions-per-source-destination-limit=]</code>".
@@ -4190,7 +4188,7 @@ To <dfn>trigger event-level attribution</dfn> given an [=attribution trigger=] |
4190
4188
: [=attribution rate-limit record/entity ID=]
4191
4189
:: |report|'s [=event-level report/internal ID=]
4192
4190
1. If the result of running [=check if attribution should be blocked by rate limits=]
4193
-
with |trigger|, |sourceToAttribute|, and |rateLimitRecord| is not null, return it.
4191
+
with |rateLimitRecord| is not null, return it.
4194
4192
1. Let |numMatchingReports| be the number of entries in the [=event-level report cache=] whose
1. If |numMatchingReports| is greater than or equal to the user agent's [=max event-level reports per attribution destination=]:
@@ -4271,8 +4269,7 @@ To <dfn>trigger aggregatable attribution</dfn> given an [=attribution trigger=]
4271
4269
: [=attribution rate-limit record/entity ID=]
4272
4270
:: null
4273
4271
1. If the result of running [=check if attribution should be blocked by rate limits=]
4274
-
with |trigger|, |sourceToAttribute|, and |rateLimitRecord| is not null,
4275
-
return it.
4272
+
with |rateLimitRecord| is not null, return it.
4276
4273
1. If |sourceToAttribute|'s [=attribution source/number of aggregatable attribution reports=] value is equal to [=max aggregatable reports per source=][0] and |trigger|'s [=attribution trigger/trigger context ID=] is null, then:
4277
4274
1. Return the [=triggering result=] ("<code>[=triggering status/dropped=]</code>",
4278
4275
("<code>[=trigger debug data type/trigger-aggregate-excessive-reports=]</code>", null)).
0 commit comments