Re: [ServiceWorker] ServiceWorkerClient to Client (#588)

What about having:
```
partial interface Clients {
  Promise<void> focusWindow(WindowClient);
};
```
We could even return a new WindowClient in the Promise. It feels less odd to me to have the method outside of the snapshot object.

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

Received on Friday, 19 December 2014 16:39:33 UTC