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

I think introducing the thread concept wouldn't solve this particular case where we want to reference the environment settings object's item concurrently from the main thread and the SW thread. (I absolutely agree to the idea of spec'ing the thread concept to solve the ambiguity around designating parallel execution context.)

> I believe the navigate algorithm has guards against multiple navigate attempts

I think if we add something like the environment settings object's initial client flag, we wouldn't have a problem accessing the flag from Handle Fetch as https://html.spec.whatwg.org/#navigate step 3, 4, and 6 don't allow two navigate instances to run concurrently.

-- 
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-313081188

Received on Wednesday, 5 July 2017 11:53:17 UTC