- From: Jungkee Song <notifications@github.com>
- Date: Tue, 13 Jun 2017 23:58:51 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 June 2017 06:59:23 UTC
> Note, if we do this we will need to also fix #1162. Good catch. I think we can set the initial value of the state attribute to "parsed". For the naming, I give my five cents to `self.serviceWorker` and `self.client`. `this.serviceWorker` sounds better than `this.thisServiceWorker` to me. One more thing is what we'd expect postMessage() to self will do? Throwing an InvalidStateError? If the use case posed in the OP is about just exposing the state of itself, adding `self.state` (and probably `self.onstatechange` too) would be an option here? -- 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/1077#issuecomment-308337668
Received on Wednesday, 14 June 2017 06:59:23 UTC