@@ -1349,6 +1349,10 @@ The <dfn method for=Attribution>saveImpression(|options|)</dfn> method steps are
1349
1349
|options|.{{AttributionImpressionOptions/conversionSites}} is
1350
1350
greater than an [=implementation-defined=] maximum value, return
1351
1351
[=a promise rejected with=] a {{RangeError}} in |realm|.
1352
+ 1. If the [=list/size=] of
1353
+ |options|.{{AttributionImpressionOptions/conversionCallers}} is
1354
+ greater than an [=implementation-defined=] maximum value, return
1355
+ [=a promise rejected with=] a {{RangeError}} in |realm|.
1352
1356
1. Let |conversionSites| be the [=set=] that is the result
1353
1357
of invoking [=parse a site=]
1354
1358
for each value in |options|.{{AttributionImpressionOptions/conversionSites}} .
@@ -1482,12 +1486,21 @@ To <dfn>validate {{AttributionConversionOptions}}</dfn> |options|:
1482
1486
1. Let |lookback| be |options|.{{AttributionConversionOptions/lookbackDays}} [=days=]
1483
1487
if it [=map/exists=] , the [=implementation-defined=] maximum otherwise.
1484
1488
1. If |lookback| is 0 [=days=] , throw a {{RangeError}} .
1489
+ 1. If the [=list/size=] of
1490
+ |options|.{{AttributionConversionOptions/matchValue}} is
1491
+ greater than an [=implementation-defined=] maximum value, throw a {{RangeError}} .
1485
1492
1. Let |matchValue| be the result of running [=set/create|creating a set=] with
1486
1493
|options|.{{AttributionConversionOptions/matchValue}} .
1494
+ 1. If the [=list/size=] of
1495
+ |options|.{{AttributionConversionOptions/impressionSites}} is
1496
+ greater than an [=implementation-defined=] maximum value, throw a {{RangeError}} .
1487
1497
1. Let |impressionSites| be the [=set=] that is the result
1488
1498
of invoking [=parse a site=]
1489
1499
for each value in |options|.{{AttributionConversionOptions/impressionSites}} .
1490
1500
1. If any result in |impressionSites| is failure, throw a {{"SyntaxError"}} {{DOMException}} .
1501
+ 1. If the [=list/size=] of
1502
+ |options|.{{AttributionConversionOptions/impressionCallers}} is
1503
+ greater than an [=implementation-defined=] maximum value, throw a {{RangeError}} .
1491
1504
1. Let |impressionCallers| be the [=set=] that is the result
1492
1505
of invoking [=parse a site=]
1493
1506
for each value in |options|.{{AttributionConversionOptions/impressionCallers}} .
0 commit comments