CookieIssueDetails

@Serializable
data class CookieIssueDetails(val cookie: Audits.AffectedCookie? = null, val rawCookieLine: String? = null, val cookieWarningReasons: List<Audits.CookieWarningReason>, val cookieExclusionReasons: List<Audits.CookieExclusionReason>, val operation: Audits.CookieOperation, val siteForCookies: String? = null, val cookieUrl: String? = null, val request: Audits.AffectedRequest? = null, val insight: Audits.CookieIssueInsight? = null)

This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.

Constructors

Link copied to clipboard
constructor(cookie: Audits.AffectedCookie? = null, rawCookieLine: String? = null, cookieWarningReasons: List<Audits.CookieWarningReason>, cookieExclusionReasons: List<Audits.CookieExclusionReason>, operation: Audits.CookieOperation, siteForCookies: String? = null, cookieUrl: String? = null, request: Audits.AffectedRequest? = null, insight: Audits.CookieIssueInsight? = null)

Properties

Link copied to clipboard

If AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string. This hints at a problem where the cookie line is syntactically or semantically malformed in a way that no valid cookie could be created.

Link copied to clipboard
val cookieUrl: String? = null
Link copied to clipboard

The recommended solution to the issue.

Link copied to clipboard

Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.

Link copied to clipboard
val rawCookieLine: String? = null
Link copied to clipboard
Link copied to clipboard
val siteForCookies: String? = null