- From: Jungkee Song <notifications@github.com>
- Date: Thu, 17 Nov 2016 20:29:08 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 18 November 2016 04:29:45 UTC
I think it's a good idea to expose `type` to `Client` interface. Returned clients can be one of "window", "worker", and "sharedworker" indeed. For the type of the attribute, we can use the enum, `ClientType` preventing the getter from returning "all". Would it make sense? ``` interface Client { readonly attribute ClientType type; } ``` For naming, I give my five cents to keeping consistency to the existing names. -- 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/1005#issuecomment-261446225
Received on Friday, 18 November 2016 04:29:45 UTC