Re: [w3c/ServiceWorker] consider Client behavior for windows where initial about:blank is replaced with a loaded document (#1091)

> If you have a handle on an environment settings object you can get to the "corresponding" document, no?

Yes, but without a state on the environment settings object, I should still cross the process boundary to check if that document is the only entry in the client's browsing context's session history.

Also, after reading https://github.com/whatwg/html/pull/2774#discussion_r123282285, I'm concerned about accessing such a state defined in the environment settings object from within parallel steps. We should be able to make sure that the state hasn't been mutated. When the navigate flow initiated from the initial about:blank client got to Handle Fetch, isn't there any possibility the browsing context's session history had changed? I believe the navigate algorithm has guards against multiple navigate attempts, but want to clarify we won't have a race condition.

-- 
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/1091#issuecomment-312194182

Received on Friday, 30 June 2017 07:17:46 UTC