@@ -133,6 +133,7 @@ spec: private-aggregation-api; urlPrefix: https://patcg-individual-drafts.github
133
133
for: pre-specified report parameters
134
134
text: context ID
135
135
text: filtering ID max bytes
136
+ text: max contributions
136
137
text: batching scope
137
138
text: debug scope
138
139
text: process contributions for a batching scope
@@ -579,11 +580,20 @@ Moreover, each {{SharedStorageWorklet}}'s [=global scopes|list of global scopes=
579
580
1. If |filteringIdMaxBytes| is not the [=default filtering ID max bytes=] or
580
581
|contextId| is not null, return a new {{DOMException}} with name
581
582
"`DataError`".
583
+ 1. Let |maxContributions| be null.
584
+ 1. If
585
+ |privateAggregationConfig|["{{SharedStoragePrivateAggregationConfig/maxContributions}}"]
586
+ [=map/exists=] , set |maxContributions| to
587
+ |privateAggregationConfig|["{{SharedStoragePrivateAggregationConfig/maxContributions}}"] .
588
+ 1. If |maxContributions| is zero, return a new {{DOMException}} with name
589
+ "`DataError`".
582
590
1. Return a new [=pre-specified report parameters=] with the items:
583
591
: <a spec="private-aggregation-api" for="pre-specified report parameters">context ID</a>
584
592
:: |contextId|
585
593
: [=pre-specified report parameters/filtering ID max bytes=]
586
594
:: |filteringIdMaxBytes|
595
+ : [=pre-specified report parameters/max contributions=]
596
+ :: |maxContributions|
587
597
</div>
588
598
589
599
<div algorithm>
@@ -1604,6 +1614,7 @@ On the other hand, methods for getting data from the [=shared storage database=]
1604
1614
USVString aggregationCoordinatorOrigin;
1605
1615
USVString contextId;
1606
1616
[EnforceRange] unsigned long long filteringIdMaxBytes;
1617
+ [EnforceRange] unsigned long long maxContributions;
1607
1618
};
1608
1619
1609
1620
dictionary SharedStorageRunOperationMethodOptions {
0 commit comments