@@ -2162,7 +2162,7 @@ or null |osSourceHeader|, a [=registration info=] |registrationInfo|, and a
21622162
21632163<div algorithm>
21642164To <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|,
21662166a [=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
270627061. Let |set| be a new [=trigger data set=] .
270727071. 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 |.
272427241. 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|.
287428741. 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 |.
287728771. If |triggerDataSet| is an error, return it.
287828781. Let |attributionScopes| be the result of running [=parse attribution scopes=] with |value|.
287928791. If |attributionScopes| is an error, return it.
@@ -3162,7 +3162,7 @@ a [=trigger state=] |triggerState|:
31623162
31633163<div algorithm>
31643164To <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|,
31663166a [=boolean=] |isNoised|, and a [=boolean=] |destinationLimitReplaced|:
31673167
316831681. 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
328532851. 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|.
328732871. 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