Re: [ServiceWorker] Do we need InstallEvent's activeWorker? (#661)

I agree `registration.active` does the same role so we might want to drop `e.activeWorker`. In this case, we have a choice either use `ExtendableEvent` for `install` event as it doesn't have any attribute itself or still use `InstallEvent` for future extension.

Another thing is, the only use case for this attribute I remember is the messaging between an installing worker and an active worker. But `registration.active.postMessage()` from a service worker doesn't fit to our SW messaging model sorted out to date. `e.source` set to a `Client` object seems not working here. I think we need to sort out the communication method between service workers somehow.

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

Received on Tuesday, 24 March 2015 11:20:51 UTC