Skip to main content
Version: 23.10.1

CookiePartitionKey interface

Represents a cookie partition key in Chrome.

Signature

export interface CookiePartitionKey

Properties

Property

Modifiers

Type

Description

Default

hasCrossSiteAncestor

optional

boolean

Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.

Supported only in Chrome.

sourceOrigin

string

The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.

In Chrome, maps to the CDP's topLevelSite partition key.