Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias Protocol.Network.SetCookieBlockedReason
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { SetCookieBlockedReason } = Protocol.Network;

Types of reasons why a cookie may not be stored from a response.

definition:
| "SecureOnly"
| "SameSiteStrict"
| "SameSiteLax"
| "SameSiteUnspecifiedTreatedAsLax"
| "SameSiteNoneInsecure"
| "UserPreferences"
| "SyntaxError"
| "SchemeNotSupported"
| "OverwriteSecure"
| "InvalidDomain"
| "InvalidPrefix"
| "UnknownError"
| "SchemefulSameSiteStrict"
| "SchemefulSameSiteLax"
| "SchemefulSameSiteUnspecifiedTreatedAsLax"