From b86166066f10a30b8a5a257303dd8eda77d4bfa7 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 11 Feb 2022 07:38:48 -0800 Subject: [PATCH 1/2] Adapt CookieStore change event to new structure --- api/CookieStore.json | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/api/CookieStore.json b/api/CookieStore.json index a81f70418f2050..32a941a58bd013 100644 --- a/api/CookieStore.json +++ b/api/CookieStore.json @@ -52,10 +52,13 @@ "deprecated": false } }, - "delete": { + "change_event": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/delete", - "spec_url": "https://wicg.github.io/cookie-store/#dom-cookiestore-delete", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/change_event", + "spec_url": [ + "https://wicg.github.io/cookie-store/#intro-monitor", + "https://wicg.github.io/cookie-store/#dom-cookiestore-onchange" + ], "support": { "chrome": { "version_added": "87" @@ -101,10 +104,10 @@ } } }, - "get": { + "delete": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/get", - "spec_url": "https://wicg.github.io/cookie-store/#dom-cookiestore-get", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/delete", + "spec_url": "https://wicg.github.io/cookie-store/#dom-cookiestore-delete", "support": { "chrome": { "version_added": "87" @@ -150,10 +153,10 @@ } } }, - "getAll": { + "get": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/getAll", - "spec_url": "https://wicg.github.io/cookie-store/#dom-cookiestore-getall", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/get", + "spec_url": "https://wicg.github.io/cookie-store/#dom-cookiestore-get", "support": { "chrome": { "version_added": "87" @@ -199,10 +202,10 @@ } } }, - "onchange": { + "getAll": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/onchange", - "spec_url": "https://wicg.github.io/cookie-store/#dom-cookiestore-onchange", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/getAll", + "spec_url": "https://wicg.github.io/cookie-store/#dom-cookiestore-getall", "support": { "chrome": { "version_added": "87" From 6048c5f868067aa12ecaaf2d111237c5664798df Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 11 Feb 2022 07:57:00 -0800 Subject: [PATCH 2/2] Add description --- api/CookieStore.json | 1 + 1 file changed, 1 insertion(+) diff --git a/api/CookieStore.json b/api/CookieStore.json index 32a941a58bd013..547c5eb9d2301f 100644 --- a/api/CookieStore.json +++ b/api/CookieStore.json @@ -54,6 +54,7 @@ }, "change_event": { "__compat": { + "description": "change event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/CookieStore/change_event", "spec_url": [ "https://wicg.github.io/cookie-store/#intro-monitor",