You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1952,7 +1952,7 @@ To <dfn noexport>parse a `Save-Impression` header</dfn> given a [=header value=]
1952
1952
<var ignore>field_type</var> set to "`dictionary`".
1953
1953
1. If parsing failed, return an error.
1954
1954
1. If |dict|["<code>[=save-impression/histogram-index=]</code>"] does not [=map/exist=] or
1955
-
is not an [=structured header/integer=]or is less than 0, return an error.
1955
+
is not an [=structured header/integer=]in the [=32-bit unsigned integer=] range, return an error.
1956
1956
1. Let |histogramIndex| be |dict|["<code>[=save-impression/histogram-index=]</code>"].
1957
1957
1. Let |conversionSites| be |dict|["<code>[=save-impression/conversion-sites=]</code>"]
1958
1958
[=map/with default=] an empty [=structured header/inner list=].
@@ -1961,11 +1961,12 @@ To <dfn noexport>parse a `Save-Impression` header</dfn> given a [=header value=]
1961
1961
[=map/with default=] an empty [=structured header/inner list=].
1962
1962
1. If |conversionCallers| is not an [=structured header/inner list=], or if any of |conversionCallers|' [=list/items=] is not a [=structured header/string=], return an error.
1963
1963
1. Let |matchValue| be |dict|["<code>[=save-impression/match-value=]</code>"] [=map/with default=] 0.
1964
-
1. If |matchValue| is not an [=structured header/integer=]or is less than 0, return an error.
1964
+
1. If |matchValue| is not an [=structured header/integer=]in the [=32-bit unsigned integer=] range, return an error.
1965
1965
1. Let |lifetimeDays| be |dict|["<code>[=save-impression/lifetime-days=]</code>"] [=map/with default=] 30.
1966
-
1. If |lifetimeDays| is not an [=structured header/integer=] or is less than or equal to 0, return an error.
1966
+
1. If |lifetimeDays| is not a positive [=structured header/integer=], return an error.
1967
+
1. Clamp |lifetimeDays| to the [=32-bit unsigned integer=] range.
1967
1968
1. Let |priority| be |dict|["<code>[=save-impression/priority=]</code>"] [=map/with default=] 0.
1968
-
1. If |priority| is not an [=structured header/integer=], return an error.
1969
+
1. If |priority| is not an [=structured header/integer=] in the [=32-bit signed integer=] range, return an error.
1969
1970
1. Return a new {{AttributionImpressionOptions}} with the following items:
0 commit comments