externalCookieData
Index
Properties
externalname
The name of the cookie.
externalvalue
The value of the cookie.
externaloptionaldomain
The domain this cookie is visible to.
Defaults to the current browsing context's document's URL when setting a cookie.
externaloptionalpath
The cookie path. Defaults to "/" when adding a cookie.
externaloptionalexpiry
The timestamp describing the point in time when this cookie expires.
externaloptionalhttpOnly
Whether the cookie is an HTTP-only cookie.
Defaults to false
when adding a new cookie.
externaloptionalsecure
Whether the cookie is a secure cookie.
Defaults to false
when adding a new cookie.
externaloptionalsameSite
Whether the cookie applies to a SameSite
policy.
Defaults to None
if omitted when adding a cookie.
A data structure describing a
Cookie
to be set, or one that's been read.Learn more
Cookie
Page.cookie