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

> Is there a scenario when getAll() is useful without filtering by type? Your examples seem like they would benefit from a filter on window.

There's already `.getAll({ includeUncontrolled: true })`, adding a `type` option that defaults to `window` seems pretty sensible, with other values being `worker`, `shared-worker` or `all`.

(includeUncontrolled, ugh, maybe includeUnclaimed if we're going for `clients.claim()`)

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

Received on Monday, 15 December 2014 19:28:47 UTC