Re: [w3c/ServiceWorker] What does it mean to wait "for a task to be executed (including its asynchronous steps)"? (#1109)

For the `client.navigate()'s "wait for" step, that should be at least when it can get the values for the Document's visibilityState, the result of [has focus steps](https://html.spec.whatwg.org/#has-focus-steps) on the Document, and the ancestor origins list. I think it should be around at the end of the [Initializing a new Document object](https://html.spec.whatwg.org/#initialise-the-document-object). Then, we can be sure that the Document has been set to the Window and the Window has been set to the browsing context.

To get those Document's visual properties, I thought we don't need to wait until the parsing is stopped. Should we?

-- 
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/1109#issuecomment-293230190

Received on Tuesday, 11 April 2017 11:35:51 UTC