File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -697,11 +697,12 @@ null |timeout|:
697
697
|currentWallTime|.
698
698
1. [=set/Append=] |report| to the user agent's [=aggregatable report cache=] .
699
699
700
- To <dfn algorithm>consume budget if permitted</dfn> given a {{long}} |value|, an
701
- [=origin=] <var ignore=''> origin</var> , a [=context type=] |api| and a
700
+ To <dfn algorithm>consume budget if permitted</dfn> given an integer |value|,
701
+ an [=origin=] <var ignore=''> origin</var> , a [=context type=] |api| and a
702
702
[=moment=] |currentTime|, perform [=implementation-defined=] steps. They return
703
703
a [=boolean=] , which indicates whether there is sufficient 'contribution budget'
704
- left to send the requested contribution |value|. This budget should be bound to
704
+ left to send the requested contribution |value| (or multiple contributions with
705
+ a sum of values equal to |value|). This budget should be bound to
705
706
usage over time, e.g. the contribution sum over the last 24 hours. The algorithm
706
707
should assume that the contribution will be sent if and only if true is
707
708
returned, i.e. it should consume the budget in that case. If |value| is zero,
You can’t perform that action at this time.
0 commit comments