Re: [ServiceWorker] Clients & postMessage (#609)

* The expected model is that each end has a `postMessage` and `onmessage` method. Breaking that is needlessly confusing. The `postMessage` model for `Window` is legacy, pre-`MessageChannel`, confusing, and does not match well to this anyway.
* The `postMessage` model for `Window` exists, overloading it with completely orthogonal `message` events requires all existing library code to be rewritten to take into account that service workers can now also produce events there.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/609#issuecomment-71622477

Received on Tuesday, 27 January 2015 10:23:34 UTC