[ServiceWorker] Should the active worker move to environment settings object? (#811)

It seems the navigation behavior in HTML has changed and says now a navigation doesn't create a new environment settings object but just re-use the settings object for the browsing context: https://html.spec.whatwg.org/#navigating-across-documents:set-up-a-browsing-context-environment-settings-object.

An environment settings object is a good fit to cover both window clients and worker clients. I think service worker client's active worker should move to environment settings object. And resetting the [active worker](https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#dfn-service-worker-client-active-worker) can be specified in the HTML navigation algorithm. WDYT?

/cc @annevk @domenic

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/811

Received on Thursday, 7 January 2016 04:45:22 UTC