diff --git a/notifications.bs b/notifications.bs index 36bc8f5..75a9ed2 100644 --- a/notifications.bs +++ b/notifications.bs @@ -1064,6 +1064,12 @@ partial interface ServiceWorkerGlobalScope { }; +

A service worker registration has an associated +has showNotification() been successfully invoked +(a boolean), which is initially false. + +

This is infrastructure for the Push API standard. [[PUSH-API]] +

The showNotification(title, options) @@ -1098,6 +1104,10 @@ method steps are:

  • Run the notification show steps for notification. +

  • Set notification's service worker registration's + has showNotification() been successfully invoked + to true. +

  • Queue a global task on the DOM manipulation task source given global to resolve promise with undefined.