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

I've tried to refine it: 09e47de53ea91e138a3e85ecc3ea418094654dd8.

In this patch, I no longer capture the window client's state (visibility state and focused) in the async algorithm steps. (I moved those steps to the queued task.) And when the queued task has executed, the algorithm steps, where the task was queue from, create the Client/WindowClient object based on the captured states. Could you take a look?

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

Received on Friday, 6 November 2015 10:39:07 UTC