diff --git a/notifications.bs b/notifications.bs index cd339fd..939f1d8 100644 --- a/notifications.bs +++ b/notifications.bs @@ -715,9 +715,8 @@ corresponding notification is in the these steps:
    -
  1. If the entry settings object's - global object is a {{ServiceWorkerGlobalScope}} object, - then throw a TypeError exception. +

  2. If the current global object is a {{ServiceWorkerGlobalScope}} object, then + throw a TypeError exception.

  3. Let notification be the result of creating a notification given diff --git a/notifications.html b/notifications.html index 257bb31..490f9d2 100644 --- a/notifications.html +++ b/notifications.html @@ -581,8 +581,7 @@

    entry settings object’s global object is a ServiceWorkerGlobalScope object, - then throw a TypeError exception.

    +

    If the current global object is a ServiceWorkerGlobalScope object, then throw a TypeError exception.

  4. Let notification be the result of creating a notification given title and options. Rethrow any exceptions.

  5. @@ -1131,9 +1130,9 @@

  6. EventHandler
  7. browsing context +
  8. current global object
  9. event handler
  10. event handler event type -
  11. global object
  12. in parallel
  13. origin
  14. origin (for environment settings object)