[w3c/ServiceWorker] Does ServiceWorkerContainer.onmessage also get ExtendableMessageEvent object? (#1301)

[The event handler table](https://w3c.github.io/ServiceWorker/#service-worker-container-event-handlers) for `ServiceWorkerContainer` links to [the event table](https://w3c.github.io/ServiceWorker/#eventdef-serviceworkerglobalscope-message) for `ServiceWorkerGlobalScope` which says `message` event uses `ExtendableMessageEvent`. However, `ExtendableMessageEvent` is exposed only for `ServiceWorker`s whereas `ServiceWorkerContainer` is exposed also for `Window`.

What interface should be used for `ServiceWorkerContainer.onmessage`? Just `MessageEvent` as [MDN says](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onmessage)?

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

Received on Saturday, 14 April 2018 08:36:05 UTC