From 21d1eeeae409cb46b06b91ead681ca359452378c Mon Sep 17 00:00:00 2001 From: Nan Lin <80365263+linnan-github@users.noreply.github.com> Date: Wed, 11 Sep 2024 09:35:18 -0400 Subject: [PATCH] Add default values to registration info (#1425) --- index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 1af97d065c..d47273083d 100644 --- a/index.bs +++ b/index.bs @@ -576,9 +576,9 @@ therefore exceed the intended rate limits at will. A registration info is a [=struct=] with the following items:
-: preferred platform +: preferred platform (default null) :: Null or a [=registrar=]. -: report header errors +: report header errors (default false) :: A [=boolean=].
@@ -1780,7 +1780,7 @@ returned to avoid data loss from the optional debug reporting feature. To get registration info from a header list given a [=header list=] |headers|: -1. If |headers| does not [=header list/contain=] "`Attribution-Reporting-Info`", return null. +1. If |headers| does not [=header list/contain=] "`Attribution-Reporting-Info`", return a new [=registration info=]. 1. Let |map| be the result of [=header list/get a structured field value|getting=] "`Attribution-Reporting-Info`" from |headers| with a type of "`dictionary`".