[w3c/ServiceWorker] [Editorial] Use MessageEvent for ServiceWorkerContainer message and messageerror (PR #1825)

The events table for `ServiceWorkerContainer` listed the `Event` interface
for both the `message` and `messageerror` events, but the `Client.postMessage`
algorithm in §4.5.3 dispatches both events using `MessageEvent` here in https://w3c.github.io/ServiceWorker/#client-postmessage

This PR updates the table to match the algorithm:

- `message`: `Event` → `MessageEvent`
- `messageerror`: `Event` → `MessageEvent`

This PR fixes #1301


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/monica-ch/ServiceWorker/pull/1825.html" title="Last updated on Jun 5, 2026, 11:52 PM UTC (e8a84c1)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/ServiceWorker/1825/28e78e7...monica-ch:e8a84c1.html" title="Last updated on Jun 5, 2026, 11:52 PM UTC (e8a84c1)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1825

-- Commit Summary --

  * fix service-worker-container message events

-- File Changes --

    M index.bs (4)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1825.patch
https://github.com/w3c/ServiceWorker/pull/1825.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1825
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1825@github.com>

Received on Friday, 5 June 2026 23:53:14 UTC