Skip to content

Commit 890d71f

Browse files
committed
Remove unused algorithm
1 parent 9a6cb36 commit 890d71f

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

index.bs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2954,17 +2954,6 @@ To <dfn>get sources to delete for the unexpired destination limit</dfn> given an
29542954
1. [=set/Append=] |record|'s [=destination limit record/source ID=] to |sourcesToDelete|.
29552955
1. Return |sourcesToDelete|.
29562956

2957-
To <dfn>check if an [=attribution source=] should be blocked by reporting-origin per site limit</dfn> given an [=attribution source=] |source|:
2958-
2959-
1. Let |matchingRateLimitRecords| be all [=attribution rate-limit records=] |record| in the [=attribution rate-limit cache=] where all of the following are true:
2960-
* |record|'s [=attribution rate-limit record/scope=] is "<code>[=rate-limit scope/source=]</code>"
2961-
* |record|'s [=attribution rate-limit record/source site=] and |source|'s [=attribution source/source site=] are equal
2962-
* The [=duration from=] |record|'s [=attribution rate-limit record/time=] and |source|'s [=attribution source/source time=] is <= [=origin rate-limit window=]
2963-
1. Let |distinctReportingOrigins| be the [=set=] of all [=attribution rate-limit record/reporting origin=] in |matchingRateLimitRecords|,
2964-
[=set/union|unioned=] with «|source|'s [=attribution source/reporting origin=]».
2965-
1. If |distinctReportingOrigins|'s [=list/size=] is greater than [=max source reporting origins per source reporting site=], return <strong>blocked</strong>.
2966-
1. Return <strong>allowed</strong>.
2967-
29682957
To <dfn>obtain a fake report</dfn> given an [=attribution source=] |source| and
29692958
a [=trigger state=] |triggerState|:
29702959

0 commit comments

Comments
 (0)