chromium/third_party/blink/renderer/core/testing/internals_cookie.idl

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

enum InternalCookieSameSite { "None", "Lax", "Strict" };

// This matches the spec in https://w3c.github.io/webdriver/#cookies.
dictionary InternalCookie {
    DOMString name;
    DOMString value;
    DOMString path;
    DOMString domain;
    boolean secure;
    boolean httpOnly;
    long long expiry;
    InternalCookieSameSite sameSite;
};