Re: [ServiceWorker] Changing ServiceWorkerClient.hidden to visibilityState (#498)

I'm currently sorting out the text related to the client concept (an environment settings object will be used), and not pretty much done with the `ServiceWorkerClient` object yet. But based on the discussion with @jakearchibald, visibility state (`client.visibilityState` seems feasible), focus state, url, and postMessage are the required properties, so there won't be any huge changes on the current interface design at least for the client object representing Window (for document environment) I suppose. I'm still not sure whether we can use this interface for Worker environment as well. Will check this out.

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

Received on Friday, 28 November 2014 01:33:37 UTC