diff --git a/notifications.bs b/notifications.bs index 0bdaaa2..a5aad14 100644 --- a/notifications.bs +++ b/notifications.bs @@ -190,8 +190,8 @@ these steps: options's tag is the empty string, throw a TypeError exception. -
  • Set notification's data to a structured clone - of options's data. Rethrow any exceptions. +

  • Set notification's data to + StructuredSerialize(options's data). Rethrow any exceptions.

  • Set notification's title to options's title. @@ -895,8 +895,10 @@ the notification's renotify preference flag.

    The requireInteraction attribute's getter must return the notification's require interaction preference flag. -

    The data attribute's getter must return a -structured clone of notification's data. +

    The data attribute's getter must return +StructuredDeserialize(notification's data, +context object's relevant Realm). If this throws an exception, then return null. +

    The actions attribute's getter must return the result of the following steps: @@ -1212,7 +1214,6 @@ neighboring rights to this work. urlPrefix: https://html.spec.whatwg.org/multipage/ urlPrefix: interaction.html; type: dfn text: dom window focus - text: structured clone urlPrefix: webappapis.html; type: dfn text: entry settings object urlPrefix: https://w3c.github.io/ServiceWorker/; type: dfn