Skip to content

Commit a731bf5

Browse files
committed
Fix missing/erroneous/unused variables
1 parent 2a088e4 commit a731bf5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

index.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2162,7 +2162,7 @@ or null |osSourceHeader|, a [=registration info=] |registrationInfo|, and a
21622162

21632163
<div algorithm>
21642164
To <dfn>process an attribution trigger response</dfn> given a [=suitable origin=]
2165-
|contextOrigin|, a [=suitable origin=] |reportingOrigin|, a [=response=] |response|,
2165+
|contextOrigin|, a [=suitable origin=] |reportingOrigin|,
21662166
a [=header value=] or null |webTriggerHeader|, a [=header value=] or null
21672167
|osTriggerHeader|, a [=registration info=] |registrationInfo|, and a [=boolean=]
21682168
|fenced|:
@@ -2270,7 +2270,7 @@ and a [=response=] |response|:
22702270
|sourceHeader|, |osSourceHeader|, |registrationInfo|, and |fenced|.
22712271
1. If |hasTriggerRegistration| is true:
22722272
1. Run [=process an attribution trigger response=]
2273-
with |contextOrigin|, |reportingOrigin|, |response|, |triggerHeader|,
2273+
with |contextOrigin|, |reportingOrigin|, |triggerHeader|,
22742274
|osTriggerHeader|, |registrationInfo|, and |fenced|.
22752275

22762276
</dl>
@@ -2700,8 +2700,8 @@ To <dfn>parse report windows</dfn> given a |value|, a
27002700
</div>
27012701

27022702
<div algorithm>
2703-
To <dfn>parse trigger data into a trigger data set</dfn> given a [=map=] |map|
2704-
and a [=trigger-data matching mode=] |matchingMode|:
2703+
To <dfn>parse trigger data into a trigger data set</dfn> given a [=map=] |map|,
2704+
a [=trigger-data matching mode=] |matchingMode|, and a [=source type=] |sourceType|:
27052705

27062706
1. Let |set| be a new [=trigger data set=].
27072707
1. If |map|["<code>[=source-registration JSON key/trigger_data=]</code>"] [=map/exists=]:
@@ -2720,7 +2720,7 @@ and a [=trigger-data matching mode=] |matchingMode|:
27202720
1. [=set/iterate|For each=] integer |triggerData| of
27212721
[=the exclusive range|the range=] 0 to
27222722
[=default trigger data cardinality=][|sourceType|], exclusive:
2723-
1. [=set/Append=] |triggerData| to |triggerDataSet|.
2723+
1. [=set/Append=] |triggerData| to |set|.
27242724
1. If |matchingMode| is "<code>[=trigger-data matching mode/modulus=]</code>":
27252725
1. Let |i| be 0.
27262726
1. [=set/iterate|For each=] |triggerData| of |set|:
@@ -2872,8 +2872,8 @@ To <dfn noexport>parse source-registration JSON</dfn> given a [=byte sequence=]
28722872
[=parsing top-level report windows=] with |value|, |sourceTime|, |sourceType|,
28732873
and |expiry|.
28742874
1. If |eventReportWindows| is an error, return it.
2875-
1. Let |triggerDataSet| be the result of [=parsing trigger data into a trigger data set=] with |value|
2876-
and |triggerDataMatchingMode|.
2875+
1. Let |triggerDataSet| be the result of [=parsing trigger data into a trigger data set=] with |value|,
2876+
|triggerDataMatchingMode|, and |sourceType|.
28772877
1. If |triggerDataSet| is an error, return it.
28782878
1. Let |attributionScopes| be the result of running [=parse attribution scopes=] with |value|.
28792879
1. If |attributionScopes| is an error, return it.
@@ -3162,7 +3162,7 @@ a [=trigger state=] |triggerState|:
31623162

31633163
<div algorithm>
31643164
To <dfn>obtain and deliver a verbose debug report on source registration</dfn> given a
3165-
[=source debug data types=] |dataType|, an [=attribution source=] |source|,
3165+
[=source debug data type=] |dataType|, an [=attribution source=] |source|,
31663166
a [=boolean=] |isNoised|, and a [=boolean=] |destinationLimitReplaced|:
31673167

31683168
1. If |source|'s [=attribution source/debug reporting enabled=] is false, return.
@@ -3283,9 +3283,9 @@ an optional [=boolean=] |isNoised| (default false), and an optional
32833283
[=boolean=] |destinationLimitReplaced| (default false):
32843284

32853285
1. Run [=obtain and deliver a verbose debug report on source registration=]
3286-
with |dataTypes|, |source|, |isNoised|, and |destinationLimitReplaced|.
3286+
with |dataType|, |source|, |isNoised|, and |destinationLimitReplaced|.
32873287
1. Run [=obtain and deliver an aggregatable debug report on source registration=]
3288-
with |dataTypes|, |source|, |isNoised|, and |destinationLimitReplaced|.
3288+
with |dataType|, |source|, |isNoised|, and |destinationLimitReplaced|.
32893289

32903290
</div>
32913291

0 commit comments

Comments
 (0)