From 438976cb375cf376389408de417b7e8792e09fbb Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 24 Nov 2022 07:34:13 -0800 Subject: [PATCH 1/2] Add missing api.PushSubscriptionChangeEvent.PushSubscriptionChangeEvent feature This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser. This particular PR adds the missing `PushSubscriptionChangeEvent` member of the PushSubscriptionChangeEvent API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.gooborg.com) project (v7.0.0). Tests Used: https://mdn-bcd-collector.gooborg.com/tests/api/PushSubscriptionChangeEvent/PushSubscriptionChangeEvent _Check out the [collector's guide on how to review this PR](https://github.com/GooborgStudios/mdn-bcd-collector#reviewing-bcd-changes)._ --- api/PushSubscriptionChangeEvent.json | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/api/PushSubscriptionChangeEvent.json b/api/PushSubscriptionChangeEvent.json index b7757bc4da5a7..7152f3120dd7d 100644 --- a/api/PushSubscriptionChangeEvent.json +++ b/api/PushSubscriptionChangeEvent.json @@ -40,6 +40,44 @@ "deprecated": false } }, + "PushSubscriptionChangeEvent": { + "__compat": { + "spec_url": "https://w3c.github.io/push-api/#dom-pushsubscriptionchangeevent-constructor", + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": "mirror", + "edge": { + "version_added": "17", + "version_removed": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": "16.1" + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "newSubscription": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PushSubscriptionChangeEvent/newSubscription", From bc77d97aea225baae13a9bac39008a8ee7fd2307 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 24 Nov 2022 07:39:17 -0800 Subject: [PATCH 2/2] Add description --- api/PushSubscriptionChangeEvent.json | 1 + 1 file changed, 1 insertion(+) diff --git a/api/PushSubscriptionChangeEvent.json b/api/PushSubscriptionChangeEvent.json index 7152f3120dd7d..8aebe3ceeff87 100644 --- a/api/PushSubscriptionChangeEvent.json +++ b/api/PushSubscriptionChangeEvent.json @@ -42,6 +42,7 @@ }, "PushSubscriptionChangeEvent": { "__compat": { + "description": "PushSubscriptionChangeEvent() constructor", "spec_url": "https://w3c.github.io/push-api/#dom-pushsubscriptionchangeevent-constructor", "support": { "chrome": {