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
Value of <a dict-member for=AttributionImpressionOptions>lifetimeDays</a>,
1946
1948
a positive [=structured header/integer=]. This key is optional.
1947
-
If not supplied, 30 days is saved for [=impression/Lifetime=].
1948
1949
</dd>
1949
1950
</dl>
1950
1951
@@ -1956,34 +1957,36 @@ To <dfn noexport>parse a `Save-Impression` header</dfn> given a [=header value=]
1956
1957
with <var ignore>input_bytes</var> set to |input| and
1957
1958
<var ignore>field_type</var> set to "`dictionary`".
1958
1959
1. If parsing failed, return an error.
1959
-
1. If |dict|["<code>[=save-impression/histogram-index=]</code>"] does not [=map/exist=] or
1960
-
is not an [=structured header/integer=] or is less than 0, return an error.
1961
-
1. Let |histogramIndex| be |dict|["<code>[=save-impression/histogram-index=]</code>"].
1962
-
1. Let |conversionSites| be |dict|["<code>[=save-impression/conversion-sites=]</code>"]
1963
-
[=map/with default=] an empty [=structured header/inner list=].
1964
-
1. If |conversionSites| is not an [=structured header/inner list=], or if any of |conversionSites|' [=list/items=] is not a [=structured header/string=], return an error.
1965
-
1. Let |conversionCallers| be |dict|["<code>[=save-impression/conversion-callers=]</code>"]
1966
-
[=map/with default=] an empty [=structured header/inner list=].
1967
-
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.
1968
-
1. Let |matchValue| be |dict|["<code>[=save-impression/match-value=]</code>"] [=map/with default=] 0.
1969
-
1. If |matchValue| is not an [=structured header/integer=] or is less than 0, return an error.
1970
-
1. Let |lifetimeDays| be |dict|["<code>[=save-impression/lifetime-days=]</code>"] [=map/with default=] 30.
1971
-
1. If |lifetimeDays| is not an [=structured header/integer=] or is less than or equal to 0, return an error.
1972
-
1. Let |priority| be |dict|["<code>[=save-impression/priority=]</code>"] [=map/with default=] 0.
1973
-
1. If |priority| is not an [=structured header/integer=], return an error.
1974
-
1. Return a new {{AttributionImpressionOptions}} with the following items:
1960
+
1. Let |histogramIndex| be |dict|["<code>[=save-impression/histogram-index=]</code>"] [=map/with default=] `undefined`.
1961
+
1. If |histogramIndex| is not a non-negative [=structured header/integer=], return an error.
1962
+
1. Let |opts| be a new {{AttributionImpressionOptions}} with the following items:
0 commit comments