Skip to content

Commit fe5d01d

Browse files
committed
Remove vacuous allowEmpty parameter
1 parent 70315ce commit fe5d01d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

index.bs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2558,13 +2558,11 @@ To <dfn>parse report windows</dfn> given a |value|, a
25582558
1. Return |windows|.
25592559

25602560
To <dfn>parse trigger data into a trigger spec map</dfn> given a
2561-
|triggerDataList|, a [=trigger spec=] |spec|, a [=trigger spec map=]
2562-
|specs|, and a [=boolean=] |allowEmpty|:
2561+
|triggerDataList|, a [=trigger spec=] |spec|, and a [=trigger spec map=]
2562+
|specs|:
25632563

25642564
1. If |triggerDataList| is not a [=list=] or its [=list/size=] is greater than
25652565
[=max distinct trigger data per source=], return false.
2566-
1. If |allowEmpty| is false and |triggerDataList| [=list/is empty=], return
2567-
false.
25682566
1. [=list/iterate|For each=] |triggerData| of |triggerDataList|:
25692567
1. If |triggerData| is not an integer or cannot be represented by an
25702568
unsigned 32-bit integer, or |specs|[|triggerData|] [=map/exists=],
@@ -2587,10 +2585,9 @@ To <dfn>parse trigger specs</dfn> given a [=map=] |map|, a [=moment=]
25872585
: [=trigger spec/event-level report windows=]
25882586
:: |defaultReportWindows|
25892587
1. If |map|["<code>[=source-registration JSON key/trigger_data=]</code>"] [=map/exists=]:
2590-
1. Let |allowEmpty| be true.
25912588
1. If the result of running
25922589
[=parse trigger data into a trigger spec map=] with
2593-
|map|["<code>[=source-registration JSON key/trigger_data=]</code>"], |spec|, |specs|, and |allowEmpty| is false,
2590+
|map|["<code>[=source-registration JSON key/trigger_data=]</code>"], |spec|, and |specs| is false,
25942591
return an error.
25952592
1. Otherwise:
25962593
1. [=set/iterate|For each=] integer |triggerData| of

0 commit comments

Comments
 (0)