- From: Ben Kelly <notifications@github.com>
- Date: Thu, 16 Feb 2017 07:14:20 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 16 February 2017 15:14:56 UTC
I think we should also do something similar for other attributes on Client. For example: * `Client.ancestorOrigins` should return a zero length list * `Client.frameType` (if its still implemented) should return `none`. * `Client.focused` should return false I'm not sure what `Client.visibilityState` should return for reserved clients. Should it be `unloaded` or `preload`? Basically only `Client.id` and `Client.type` should return useful data on reserved Client objects. Also, `Client.focus()` and `Client.navigate()` should probably reject with `InvalidStateError`. I think only `Client.postMessage()` should function in that it queues messages until execution ready. -- 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/1034#issuecomment-280357895
Received on Thursday, 16 February 2017 15:14:56 UTC