Skip to content

Commit

Permalink
Add more push API keys (#2275)
Browse files Browse the repository at this point in the history
  • Loading branch information
autonome authored Nov 20, 2024
1 parent 7bb81f8 commit ec1ff12
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 143 deletions.
40 changes: 0 additions & 40 deletions features/draft/spec/push-api.yml

This file was deleted.

103 changes: 0 additions & 103 deletions features/draft/spec/push-api.yml.dist

This file was deleted.

36 changes: 36 additions & 0 deletions features/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,39 @@ name: Push messages
description: The Push API subscribes to and receives server-initiated messages. Subscribers receive pushed messages in the background, even after periods inactive or offline.
spec: https://w3c.github.io/push-api/
caniuse: push-api
status:
compute_from: api.PushMessageData
compat_features:
- api.Permissions.permission_push
- api.PushEvent
- api.PushEvent.PushEvent
- api.PushEvent.data
- api.PushManager
- api.PushManager.getSubscription
- api.PushManager.permissionState
- api.PushManager.subscribe
- api.PushManager.supportedContentEncodings_static
- api.PushMessageData
- api.PushMessageData.arrayBuffer
- api.PushMessageData.blob
- api.PushMessageData.bytes
- api.PushMessageData.json
- api.PushMessageData.text
- api.PushSubscription
- api.PushSubscription.endpoint
- api.PushSubscription.expirationTime
- api.PushSubscription.getKey
- api.PushSubscription.options
- api.PushSubscription.toJSON
- api.PushSubscription.unsubscribe
- api.PushSubscriptionChangeEvent
- api.PushSubscriptionChangeEvent.PushSubscriptionChangeEvent
- api.PushSubscriptionChangeEvent.newSubscription
- api.PushSubscriptionChangeEvent.oldSubscription
- api.PushSubscriptionOptions
- api.PushSubscriptionOptions.applicationServerKey
- api.PushSubscriptionOptions.userVisibleOnly
- api.ServiceWorkerGlobalScope.push_event
- api.ServiceWorkerGlobalScope.pushsubscriptionchange_event
- api.ServiceWorkerRegistration
- api.ServiceWorkerRegistration.pushManager
97 changes: 97 additions & 0 deletions features/push.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ status:
safari: "16"
safari_ios: "16.4"
compat_features:
# baseline: high
# baseline_low_date: 2018-04-30
# baseline_high_date: 2020-10-30
# support:
# chrome: "40"
# chrome_android: "40"
# edge: "17"
# firefox: "44"
# firefox_android: "44"
# safari: "11.1"
# safari_ios: "11.3"
- api.ServiceWorkerRegistration

# baseline: low
# baseline_low_date: 2023-03-27
# support:
Expand Down Expand Up @@ -40,6 +53,7 @@ compat_features:
- api.PushEvent.PushEvent
- api.PushManager
- api.PushManager.getSubscription
- api.PushManager.subscribe
- api.PushSubscription
- api.PushSubscription.endpoint
- api.PushSubscription.getKey
Expand Down Expand Up @@ -86,3 +100,86 @@ compat_features:
- api.PushMessageData.blob
- api.PushMessageData.json
- api.PushMessageData.text

# baseline: low
# baseline_low_date: 2023-03-27
# support:
# chrome: "54"
# chrome_android: "54"
# edge: "17"
# firefox: "44"
# firefox_android: "48"
# safari: "16"
# safari_ios: "16.4"
- api.PushSubscription.options
- api.PushSubscriptionOptions
- api.PushSubscriptionOptions.applicationServerKey

# baseline: low
# baseline_low_date: 2023-03-27
# support:
# chrome: "60"
# chrome_android: "60"
# edge: "17"
# firefox: "96"
# firefox_android: "96"
# safari: "16"
# safari_ios: "16.4"
- api.PushSubscription.expirationTime

# baseline: low
# baseline_low_date: 2023-05-18
# support:
# chrome: "43"
# chrome_android: "43"
# edge: "79"
# firefox: "46"
# firefox_android: "46"
# safari: "16.5"
# safari_ios: "16.5"
- api.Permissions.permission_push

# baseline: false
# support:
# chrome: "54"
# chrome_android: "54"
# edge: "17"
# safari: "16"
# safari_ios: "16.4"
- api.PushSubscriptionOptions.userVisibleOnly

# baseline: false
# support:
# chrome: "60"
# chrome_android: "60"
# edge: "17"
# safari: "16"
# safari_ios: "16.4"
- api.PushManager.supportedContentEncodings_static

# baseline: false
# support:
# firefox: "128"
# firefox_android: "128"
# safari: "18"
# safari_ios: "18"
- api.PushMessageData.bytes

# baseline: false
# support:
# safari: "16"
# safari_ios: "16.4"
- api.PushSubscriptionChangeEvent
- api.PushSubscriptionChangeEvent.newSubscription
- api.PushSubscriptionChangeEvent.oldSubscription

# baseline: false
# support:
# safari: "16.1"
# safari_ios: "16.4"
- api.PushSubscriptionChangeEvent.PushSubscriptionChangeEvent

# baseline: false
# support:
# safari: "16"
- api.ServiceWorkerGlobalScope.pushsubscriptionchange_event

0 comments on commit ec1ff12

Please sign in to comment.