{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/cookies",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "cookies",
    "name": "Cookies",
    "description": "The Set-Cookie HTTP header stores limited amounts of data that persist across request and response, creating shared state between the browser and server.",
    "group": "cookies",
    "groupName": "Cookies",
    "spec": "https://httpwg.org/specs/rfc6265.html",
    "baseline": "high",
    "baselineLowDate": "2015-07-29",
    "baselineLowDay": 16645,
    "baselineHighDate": "2018-01-29",
    "compatCount": 14,
    "cats": [
      "api",
      "http"
    ],
    "compatKeysSample": [
      "api.Document.cookie",
      "http.headers.Cookie",
      "http.headers.Set-Cookie",
      "http.headers.Set-Cookie.HttpOnly",
      "http.headers.Set-Cookie.Max-Age",
      "http.headers.Set-Cookie.SameSite",
      "http.headers.Set-Cookie.SameSite.Lax",
      "http.headers.Set-Cookie.SameSite.Lax_default",
      "http.headers.Set-Cookie.SameSite.None",
      "http.headers.Set-Cookie.SameSite.Strict",
      "http.headers.Set-Cookie.SameSite.none_requires_secure",
      "http.headers.Set-Cookie.SameSite.schemeful",
      "http.headers.Set-Cookie.host_secure_prefixes",
      "http.headers.Set-Cookie.http_host-http_prefixes"
    ],
    "s": {
      "chrome": {
        "v": "1",
        "d": 14224
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "firefox": {
        "v": "1",
        "d": 12731
      },
      "firefox_android": {
        "v": "4",
        "d": 15062
      },
      "safari": {
        "v": "1",
        "d": 12226
      },
      "safari_ios": {
        "v": "1",
        "d": 13693
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.Document.cookie",
      "cat": "api",
      "mdn": "API/Document/cookie",
      "spec": "https://html.spec.whatwg.org/multipage/dom.html#dom-document-cookie",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "68",
          "d": 18086
        },
        "safari": {
          "v": "4",
          "d": 14403
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "68",
          "d": 18086
        },
        "safari_ios": {
          "v": "3.2",
          "d": 14702
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "3.2",
          "d": 14702
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "3",
          "d": 10196
        },
        "opera_android": {
          "v": "10.1",
          "d": 14922
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "4",
          "d": 10134
        }
      },
      "notes": [
        {
          "t": "Only supported for <a href=\"https://developer.mozilla.org/docs/Web/API/HTMLDocument\"><code>HTMLDocument</code></a>, not all <code>Document</code> objects.",
          "b": [
            "firefox",
            "safari",
            "firefox_android",
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "http.headers.Cookie",
      "cat": "http",
      "mdn": "HTTP/Reference/Headers/Cookie",
      "spec": "https://httpwg.org/specs/rfc6265.html#cookie",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "1",
          "d": 12226
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "11",
          "d": 15995,
          "le": 1
        }
      },
      "notes": [
        {
          "t": "Cookies with <code>Secure</code> flag are not sent to unsecured <code>http://localhost/</code> endpoints. See <a href=\"https://webkit.org/b/281149\">bug 281149</a>.",
          "b": [
            "safari",
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "http.headers.Set-Cookie",
      "cat": "http",
      "mdn": "HTTP/Reference/Headers/Set-Cookie",
      "spec": "https://httpwg.org/specs/rfc6265.html#sane-set-cookie",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "1",
          "d": 12226
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "12.1",
          "d": 15664,
          "le": 1
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "11",
          "d": 15995,
          "le": 1
        }
      },
      "notes": [
        {
          "t": "Cookies with <code>Secure</code> flag are not sent to unsecured <code>http://localhost/</code> endpoints. See <a href=\"https://webkit.org/b/281149\">bug 281149</a>.",
          "b": [
            "safari",
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "http.headers.Set-Cookie.HttpOnly",
      "cat": "http",
      "spec": "https://httpwg.org/specs/rfc6265.html#httponly-attribute",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "3",
          "d": 14047
        },
        "safari": {
          "v": "5",
          "d": 14767
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "4",
          "d": 14781
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "4",
          "d": 14781
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "11",
          "d": 14959
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "9",
          "d": 15047
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.Max-Age",
      "cat": "http",
      "spec": "https://httpwg.org/specs/rfc6265.html#max-age-attribute",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "1",
          "d": 14224
        },
        "firefox": {
          "v": "1",
          "d": 12731
        },
        "safari": {
          "v": "1",
          "d": 12226
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "4",
          "d": 15062
        },
        "safari_ios": {
          "v": "1",
          "d": 13693
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "1",
          "d": 13693
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "8",
          "d": 14322
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.SameSite",
      "cat": "http",
      "spec": "https://httpwg.org/specs/rfc6265.html#sane-set-cookie",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "51",
          "d": 16946
        },
        "firefox": {
          "v": "60",
          "d": 17660
        },
        "safari": {
          "v": "13",
          "d": 18158
        },
        "edge": {
          "v": "16",
          "d": 17456
        },
        "chrome_android": {
          "v": "51",
          "d": 16960
        },
        "firefox_android": {
          "v": "60",
          "d": 17660
        },
        "safari_ios": {
          "v": "13",
          "d": 18158
        },
        "webview_android": {
          "v": "51",
          "d": 16960
        },
        "webview_ios": {
          "v": "13",
          "d": 18158
        },
        "samsunginternet_android": {
          "v": "5.0",
          "d": 17150
        },
        "opera": {
          "v": "39",
          "d": 17015
        },
        "opera_android": {
          "v": "41",
          "d": 17099
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "11",
          "d": 15995
        }
      },
      "notes": [
        {
          "t": "Safari 13 on macOS 10.14 (Mojave), treats <code>SameSite=None</code> and invalid values as <code>Strict</code>. This is fixed in version 10.15 (Catalina) and later.",
          "b": [
            "safari"
          ]
        },
        {
          "t": "Treats <code>SameSite=None</code> and invalid values as <code>Strict</code> in macOS before 10.15 Catalina. See <a href=\"https://webkit.org/b/198181\">bug 198181</a>.",
          "b": [
            "safari"
          ]
        },
        {
          "t": "Treats <code>SameSite=None</code> and invalid values as <code>Strict</code> in iOS before 13. See <a href=\"https://webkit.org/b/198181\">bug 198181</a>.",
          "b": [
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "http.headers.Set-Cookie.SameSite.Lax",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-the-samesite-attribute",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "51",
          "d": 16946
        },
        "firefox": {
          "v": "60",
          "d": 17660
        },
        "safari": {
          "v": "12",
          "d": 17791
        },
        "edge": {
          "v": "16",
          "d": 17456
        },
        "chrome_android": {
          "v": "51",
          "d": 16960
        },
        "firefox_android": {
          "v": "60",
          "d": 17660
        },
        "safari_ios": {
          "v": "12.2",
          "d": 17980
        },
        "webview_android": {
          "v": "51",
          "d": 16960
        },
        "webview_ios": {
          "v": "12.2",
          "d": 17980
        },
        "samsunginternet_android": {
          "v": "5.0",
          "d": 17150
        },
        "opera": {
          "v": "39",
          "d": 17015
        },
        "opera_android": {
          "v": "41",
          "d": 17099
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "11",
          "d": 15995
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.SameSite.Lax_default",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-the-samesite-attribute",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "80",
          "d": 18296
        },
        "firefox": {
          "f": [
            "69",
            18142
          ]
        },
        "edge": {
          "v": "86",
          "d": 18544
        },
        "chrome_android": {
          "v": "80",
          "d": 18296
        },
        "webview_android": {
          "v": "80",
          "d": 18296
        },
        "samsunginternet_android": {
          "v": "13.0",
          "d": 18598
        },
        "opera": {
          "v": "71",
          "d": 18520
        },
        "opera_android": {
          "v": "60",
          "d": 18528
        },
        "oculus": {
          "v": "9.0",
          "d": 18376
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.SameSite.None",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-the-samesite-attribute",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "67",
          "d": 17680
        },
        "firefox": {
          "v": "60",
          "d": 17660
        },
        "safari": {
          "v": "13",
          "d": 18158
        },
        "edge": {
          "v": "16",
          "d": 17456
        },
        "chrome_android": {
          "v": "67",
          "d": 17682
        },
        "firefox_android": {
          "v": "60",
          "d": 17660
        },
        "safari_ios": {
          "v": "13",
          "d": 18158
        },
        "webview_android": {
          "v": "67",
          "d": 17682
        },
        "webview_ios": {
          "v": "13",
          "d": 18158
        },
        "samsunginternet_android": {
          "v": "9.4",
          "d": 18102
        },
        "opera": {
          "v": "54",
          "d": 17710
        },
        "opera_android": {
          "v": "48",
          "d": 17843
        },
        "oculus": {
          "v": "6.0",
          "d": 18120
        },
        "ie": {
          "v": "11",
          "d": 15995
        }
      },
      "notes": [
        {
          "t": "Rejects cookies with <code>SameSite=None</code>. See <a href=\"https://www.chromium.org/updates/same-site/incompatible-clients\">SameSite=None: Known Incompatible Clients</a>.",
          "b": [
            "chrome",
            "chrome_android",
            "webview_android",
            "samsunginternet_android",
            "opera",
            "opera_android",
            "oculus"
          ]
        },
        {
          "t": "Not supported before macOS version 10.15 (Catalina).",
          "b": [
            "safari"
          ]
        }
      ]
    },
    {
      "id": "http.headers.Set-Cookie.SameSite.Strict",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-the-samesite-attribute",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "51",
          "d": 16946
        },
        "firefox": {
          "v": "60",
          "d": 17660
        },
        "safari": {
          "v": "12",
          "d": 17791
        },
        "edge": {
          "v": "16",
          "d": 17456
        },
        "chrome_android": {
          "v": "51",
          "d": 16960
        },
        "firefox_android": {
          "v": "60",
          "d": 17660
        },
        "safari_ios": {
          "v": "12.2",
          "d": 17980
        },
        "webview_android": {
          "v": "51",
          "d": 16960
        },
        "webview_ios": {
          "v": "12.2",
          "d": 17980
        },
        "samsunginternet_android": {
          "v": "5.0",
          "d": 17150
        },
        "opera": {
          "v": "39",
          "d": 17015
        },
        "opera_android": {
          "v": "41",
          "d": 17099
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "11",
          "d": 15995
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.SameSite.none_requires_secure",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-storage-model",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "80",
          "d": 18296
        },
        "firefox": {
          "v": "131",
          "d": 19997
        },
        "edge": {
          "v": "86",
          "d": 18544
        },
        "chrome_android": {
          "v": "80",
          "d": 18296
        },
        "firefox_android": {
          "v": "131",
          "d": 19997
        },
        "samsunginternet_android": {
          "v": "13.0",
          "d": 18598
        },
        "opera": {
          "v": "71",
          "d": 18520
        },
        "opera_android": {
          "v": "60",
          "d": 18528
        },
        "oculus": {
          "v": "9.0",
          "d": 18376
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.SameSite.schemeful",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-same-site-and-cross-site-re",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "91",
          "d": 18772
        },
        "firefox": {
          "f": [
            "79",
            18471
          ]
        },
        "edge": {
          "v": "91",
          "d": 18774
        },
        "chrome_android": {
          "v": "91",
          "d": 18772
        },
        "webview_android": {
          "v": "91",
          "d": 18772
        },
        "samsunginternet_android": {
          "v": "16.0",
          "d": 18956
        },
        "opera": {
          "v": "77",
          "d": 18787
        },
        "opera_android": {
          "v": "64",
          "d": 18772
        },
        "oculus": {
          "v": "16.0",
          "d": 18785
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.host_secure_prefixes",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-the-__host-prefix",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "49",
          "d": 16862
        },
        "firefox": {
          "v": "50",
          "d": 17120
        },
        "safari": {
          "v": "13",
          "d": 18158
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "49",
          "d": 16869
        },
        "firefox_android": {
          "v": "50",
          "d": 17120
        },
        "safari_ios": {
          "v": "13",
          "d": 18158
        },
        "webview_android": {
          "v": "49",
          "d": 16869
        },
        "webview_ios": {
          "v": "13",
          "d": 18158
        },
        "samsunginternet_android": {
          "v": "5.0",
          "d": 17150
        },
        "opera": {
          "v": "36",
          "d": 16875
        },
        "opera_android": {
          "v": "36",
          "d": 16891
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "http.headers.Set-Cookie.http_host-http_prefixes",
      "cat": "http",
      "spec": "https://httpwg.org/http-extensions/draft-ietf-httpbis-layered-cookies.html#name-the-__http-prefix",
      "st": 1,
      "wf": "cookies",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "140",
          "d": 20333
        },
        "firefox": {
          "v": "143",
          "d": 20347
        },
        "edge": {
          "v": "140",
          "d": 20336
        },
        "chrome_android": {
          "v": "140",
          "d": 20333
        },
        "firefox_android": {
          "v": "143",
          "d": 20347
        },
        "webview_android": {
          "v": "140",
          "d": 20333
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "124",
          "d": 20405
        },
        "opera_android": {
          "v": "92",
          "d": 20369
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      },
      "notes": [
        {
          "t": "<code>__Host-Http-</code> is supported under its original name <code>__HostHttp-</code>. See <a href=\"https://bugzil.la/1982555\">bug 1982555</a>.",
          "b": [
            "firefox",
            "firefox_android"
          ]
        }
      ]
    }
  ]
}