Re: [ServiceWorker] Invoke the has focus steps instead of hasFocus() method directly. Fixes #633. (3d0ee14)

The Capture Window Client algorithm is supposed to run in a task consumed by the client's responsible event loop. The callers invoking it are queuing a task already. A missing bit is I'm running it off the main thread in Clients.matchAll(). https://github.com/slightlyoff/ServiceWorker/issues/672 tracks that.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/commit/3d0ee145e27bcaf725ae3050759893c2daf3e363#commitcomment-14180261

Received on Wednesday, 4 November 2015 11:46:13 UTC