diff --git a/docs/index.bs b/docs/index.bs index b1ca1eb9..313b1cf8 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -803,11 +803,11 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe onmessage - {{message!!event}} + {{ServiceWorkerContainer/message!!event}} onmessageerror - {{messageerror!!event}} + {{ServiceWorkerContainer/messageerror!!event}} @@ -872,6 +872,16 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe {{Event}} The [=ServiceWorkerContainer/service worker client=]'s active service worker changes. (See step 9.2 of the Activate algorithm. The skip waiting flag of a [=/service worker=] causes activation of the [=/service worker registration=] to occur while [=/service worker clients=] are using the [=/service worker registration=], {{ServiceWorkerContainer/controller|navigator.serviceWorker.controller}} immediately reflects the active worker as the [=/service worker=] that controls the [=/service worker client=].) + + message + {{Event}} + The [=ServiceWorkerContainer/service worker client=] receives a message from a [=/service worker=]. See {{Client/postMessage(message, options)}}. + + + messageerror + {{Event}} + The [=ServiceWorkerContainer/service worker client=] is sent a message that cannot be deserialized from a [=/service worker=]. See {{Client/postMessage(message, options)}}. +