From a76c92db41c3676628641e3a655168bbf440de02 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 20 Nov 2024 15:02:17 +0100 Subject: [PATCH] Add Cookies (#2236) * Add Cookies * Update features/cookies.yml Co-authored-by: Daniel D. Beck --------- Co-authored-by: Daniel D. Beck --- .../{draft/spec/rfc6265.yml => cookies.yml} | 8 +++++--- .../rfc6265.yml.dist => cookies.yml.dist} | 19 +++++++++++++------ 2 files changed, 18 insertions(+), 9 deletions(-) rename features/{draft/spec/rfc6265.yml => cookies.yml} (68%) rename features/{draft/spec/rfc6265.yml.dist => cookies.yml.dist} (89%) diff --git a/features/draft/spec/rfc6265.yml b/features/cookies.yml similarity index 68% rename from features/draft/spec/rfc6265.yml rename to features/cookies.yml index 561f2741d32..ba15cb0a447 100644 --- a/features/draft/spec/rfc6265.yml +++ b/features/cookies.yml @@ -1,8 +1,10 @@ -draft_date: 2024-10-21 -name: HTTP State Management Mechanism -description: TODO +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. spec: https://httpwg.org/specs/rfc6265.html +status: + compute_from: http.headers.Cookie compat_features: + - api.Document.cookie - http.headers.Cookie - http.headers.Set-Cookie - http.headers.Set-Cookie.HttpOnly diff --git a/features/draft/spec/rfc6265.yml.dist b/features/cookies.yml.dist similarity index 89% rename from features/draft/spec/rfc6265.yml.dist rename to features/cookies.yml.dist index 535976cbfe3..bcf96906efa 100644 --- a/features/draft/spec/rfc6265.yml.dist +++ b/features/cookies.yml.dist @@ -1,13 +1,20 @@ -# Generated from: rfc6265.yml +# Generated from: cookies.yml # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: - chrome: "91" - chrome_android: "91" - edge: "91" + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -19,6 +26,7 @@ compat_features: # firefox_android: "4" # safari: "1" # safari_ios: "1" + - api.Document.cookie - http.headers.Cookie - http.headers.Set-Cookie - http.headers.Set-Cookie.Max-Age @@ -93,7 +101,6 @@ compat_features: # edge: "86" - http.headers.Set-Cookie.SameSite.Lax_default - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "91"