Skip to content

Commit 21d1eee

Browse files
Add default values to registration info (WICG#1425)
1 parent 9a3f6cf commit 21d1eee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -576,9 +576,9 @@ therefore exceed the intended rate limits at will.
576576
A registration info is a [=struct=] with the following items:
577577

578578
<dl dfn-for="registration info">
579-
: <dfn>preferred platform</dfn>
579+
: <dfn>preferred platform</dfn> (default null)
580580
:: Null or a [=registrar=].
581-
: <dfn>report header errors</dfn>
581+
: <dfn>report header errors</dfn> (default false)
582582
:: A [=boolean=].
583583

584584
</dl>
@@ -1780,7 +1780,7 @@ returned to avoid data loss from the optional debug reporting feature.
17801780
To <dfn>get registration info from a header list</dfn> given a
17811781
[=header list=] |headers|:
17821782

1783-
1. If |headers| does not [=header list/contain=] "`Attribution-Reporting-Info`", return null.
1783+
1. If |headers| does not [=header list/contain=] "`Attribution-Reporting-Info`", return a new [=registration info=].
17841784
1. Let |map| be the result of
17851785
[=header list/get a structured field value|getting=] "`Attribution-Reporting-Info`" from |headers|
17861786
with a type of "`dictionary`".

0 commit comments

Comments
 (0)