diff --git a/spec.bs b/spec.bs index 58b582b..fe4d0aa 100644 --- a/spec.bs +++ b/spec.bs @@ -575,11 +575,24 @@ Moreover, each {{SharedStorageWorklet}}'s [=global scopes|list of global scopes= 1. If |filteringIdMaxBytes| is not the [=default filtering ID max bytes=] or |contextId| is not null, return a new {{DOMException}} with name "`DataError`". + 1. Let |maxContributions| be null. + 1. If + |privateAggregationConfig|["{{SharedStoragePrivateAggregationConfig/maxContributions}}"] + [=map/exists=], set |maxContributions| to + |privateAggregationConfig|["{{SharedStoragePrivateAggregationConfig/maxContributions}}"]. + 1. If |maxContributions| is not a positive integer, set |maxContributions| to null. 1. Return a new [=pre-specified report parameters=] with the items: : context ID :: |contextId| : [=pre-specified report parameters/filtering ID max bytes=] :: |filteringIdMaxBytes| + : requested max contributions + :: |maxContributions| + + Issue: Remove the `ignore` tag on requested max + contributions once Private Aggregation's [PR + #164](https://github.com/patcg-individual-drafts/private-aggregation-api/pull/164) + is merged.
@@ -1446,6 +1459,7 @@ On the other hand, methods for getting data from the [=shared storage database=] USVString aggregationCoordinatorOrigin; USVString contextId; [EnforceRange] unsigned long long filteringIdMaxBytes; + [EnforceRange] unsigned long long maxContributions; }; dictionary SharedStorageRunOperationMethodOptions {