diff --git a/features/draft/spec/notifications.yml b/features/draft/spec/notifications.yml deleted file mode 100644 index b18e5721738..00000000000 --- a/features/draft/spec/notifications.yml +++ /dev/null @@ -1,51 +0,0 @@ -draft_date: 2024-12-18 -name: Notifications API Standard -description: TODO -spec: https://notifications.spec.whatwg.org/ -compat_features: - - api.Notification.requestPermission_static.returns_promise - - api.Notification.secure_context_required - - api.Notification.worker_support - - api.ServiceWorkerRegistration.showNotification.options_actions_parameter - - api.ServiceWorkerRegistration.showNotification.options_badge_parameter - - api.ServiceWorkerRegistration.showNotification.options_data_parameter - - api.ServiceWorkerRegistration.showNotification.options_image_parameter - - api.ServiceWorkerRegistration.showNotification.options_renotify_parameter - - api.ServiceWorkerRegistration.showNotification.options_requireInteraction_parameter - - api.ServiceWorkerRegistration.showNotification.options_vibrate_parameter - -# The following features in the spec are already part of web-features: -# - Notifications: -# - api.Notification -# - api.Notification.Notification -# - api.Notification.actions -# - api.Notification.badge -# - api.Notification.body -# - api.Notification.click_event -# - api.Notification.close -# - api.Notification.close_event -# - api.Notification.data -# - api.Notification.dir -# - api.Notification.error_event -# - api.Notification.icon -# - api.Notification.image -# - api.Notification.lang -# - api.Notification.maxActions_static -# - api.Notification.permission_static -# - api.Notification.renotify -# - api.Notification.requestPermission_static -# - api.Notification.requireInteraction -# - api.Notification.show_event -# - api.Notification.silent -# - api.Notification.tag -# - api.Notification.timestamp -# - api.Notification.title -# - api.Notification.vibrate -# - api.NotificationEvent -# - api.NotificationEvent.NotificationEvent -# - api.NotificationEvent.action -# - api.NotificationEvent.notification -# - api.ServiceWorkerGlobalScope.notificationclick_event -# - api.ServiceWorkerGlobalScope.notificationclose_event -# - api.ServiceWorkerRegistration.getNotifications -# - api.ServiceWorkerRegistration.showNotification diff --git a/features/draft/spec/notifications.yml.dist b/features/draft/spec/notifications.yml.dist deleted file mode 100644 index 3639b1a6ff8..00000000000 --- a/features/draft/spec/notifications.yml.dist +++ /dev/null @@ -1,83 +0,0 @@ -# Generated from: notifications.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: - chrome: "62" - edge: "79" -compat_features: - # baseline: false - # support: - # chrome: "47" - # edge: "79" - # firefox: "46" - # firefox_android: "46" - # safari: "15" - - api.Notification.requestPermission_static.returns_promise - - # baseline: false - # support: - # chrome: "53" - # chrome_android: "53" - # edge: ≤79 - # safari: "17" - # safari_ios: "16.4" - - api.ServiceWorkerRegistration.showNotification.options_badge_parameter - - # baseline: false - # support: - # chrome: "42" - # edge: "15" - # firefox: "41" - # firefox_android: "41" - - api.Notification.worker_support - - # baseline: false - # support: - # chrome: "62" - # edge: "79" - # firefox: "67" - # firefox_android: "67" - - api.Notification.secure_context_required - - # baseline: false - # support: - # chrome: "44" - # chrome_android: "44" - # edge: ≤79 - - api.ServiceWorkerRegistration.showNotification.options_data_parameter - - # baseline: false - # support: - # chrome: "47" - # chrome_android: "47" - # edge: ≤79 - - api.ServiceWorkerRegistration.showNotification.options_requireInteraction_parameter - - # baseline: false - # support: - # chrome: "48" - # chrome_android: "48" - # edge: "18" - - api.ServiceWorkerRegistration.showNotification.options_actions_parameter - - # baseline: false - # support: - # chrome: "50" - # chrome_android: "50" - # edge: ≤79 - - api.ServiceWorkerRegistration.showNotification.options_renotify_parameter - - # baseline: false - # support: - # chrome: "56" - # chrome_android: "56" - # edge: ≤79 - - api.ServiceWorkerRegistration.showNotification.options_image_parameter - - # baseline: false - # support: - # chrome: "45" - # edge: ≤79 - - api.ServiceWorkerRegistration.showNotification.options_vibrate_parameter diff --git a/features/notifications.yml b/features/notifications.yml index be41568d91e..99baeab02c1 100644 --- a/features/notifications.yml +++ b/features/notifications.yml @@ -11,6 +11,8 @@ status: compat_features: - api.Notification - api.Notification.Notification + - api.Notification.worker_support + - api.Notification.secure_context_required - api.Notification.actions - api.Notification.badge - api.Notification.body @@ -27,6 +29,7 @@ compat_features: - api.Notification.permission_static - api.Notification.renotify - api.Notification.requestPermission_static + - api.Notification.requestPermission_static.returns_promise - api.Notification.requireInteraction - api.Notification.show_event - api.Notification.silent @@ -43,3 +46,10 @@ compat_features: - api.ServiceWorkerGlobalScope.notificationclose_event - api.ServiceWorkerRegistration.getNotifications - api.ServiceWorkerRegistration.showNotification + - api.ServiceWorkerRegistration.showNotification.options_actions_parameter + - api.ServiceWorkerRegistration.showNotification.options_badge_parameter + - api.ServiceWorkerRegistration.showNotification.options_data_parameter + - api.ServiceWorkerRegistration.showNotification.options_image_parameter + - api.ServiceWorkerRegistration.showNotification.options_renotify_parameter + - api.ServiceWorkerRegistration.showNotification.options_requireInteraction_parameter + - api.ServiceWorkerRegistration.showNotification.options_vibrate_parameter diff --git a/features/notifications.yml.dist b/features/notifications.yml.dist index 5177d31a71e..f3da97d29d3 100644 --- a/features/notifications.yml.dist +++ b/features/notifications.yml.dist @@ -149,6 +149,15 @@ compat_features: # safari: "16" - api.Notification.data + # baseline: false + # support: + # chrome: "47" + # edge: "79" + # firefox: "46" + # firefox_android: "46" + # safari: "15" + - api.Notification.requestPermission_static.returns_promise + # baseline: false # support: # chrome: "48" @@ -158,6 +167,15 @@ compat_features: # firefox_android: "44" - api.NotificationEvent.action + # baseline: false + # support: + # chrome: "53" + # chrome_android: "53" + # edge: ≤79 + # safari: "17" + # safari_ios: "16.4" + - api.ServiceWorkerRegistration.showNotification.options_badge_parameter + # baseline: false # support: # chrome: "20" @@ -174,6 +192,50 @@ compat_features: # firefox_android: "26" - api.Notification.icon + # baseline: false + # support: + # chrome: "42" + # edge: "15" + # firefox: "41" + # firefox_android: "41" + - api.Notification.worker_support + + # baseline: false + # support: + # chrome: "62" + # edge: "79" + # firefox: "67" + # firefox_android: "67" + - api.Notification.secure_context_required + + # baseline: false + # support: + # chrome: "44" + # chrome_android: "44" + # edge: ≤79 + - api.ServiceWorkerRegistration.showNotification.options_data_parameter + + # baseline: false + # support: + # chrome: "47" + # chrome_android: "47" + # edge: ≤79 + - api.ServiceWorkerRegistration.showNotification.options_requireInteraction_parameter + + # baseline: false + # support: + # chrome: "48" + # chrome_android: "48" + # edge: "18" + - api.ServiceWorkerRegistration.showNotification.options_actions_parameter + + # baseline: false + # support: + # chrome: "50" + # chrome_android: "50" + # edge: ≤79 + - api.ServiceWorkerRegistration.showNotification.options_renotify_parameter + # baseline: false # support: # chrome: "53" @@ -181,6 +243,19 @@ compat_features: # safari: "17" - api.Notification.badge + # baseline: false + # support: + # chrome: "56" + # chrome_android: "56" + # edge: ≤79 + - api.ServiceWorkerRegistration.showNotification.options_image_parameter + + # baseline: false + # support: + # chrome: "45" + # edge: ≤79 + - api.ServiceWorkerRegistration.showNotification.options_vibrate_parameter + # baseline: false # support: # chrome: "47"