Re: [w3c/ServiceWorker] what happens if an initial about:blank inherits a controller, but its navigation request does not match any service worker? (#1232)

> Per the HTML Standard it takes the origin of the document responsible for navigating it.

I think you mean https://html.spec.whatwg.org/#origin:document-12? That considered, the non-initial about:blank document has the same origin as the initial about:blank. And thus the initial client is getting reused. Sounds good. (not a special case.)
> Can we at least agree that:
>
> 1. The initial about:blank should be controlled by the parent's service worker. And:
> 2.  The final document load should not be controlled by any service worker if its URL does not match a scope?

Agreed.

> Note, if we can spec a way to cleanly clear the controller we could also enable the case of immediate unregister() if the site opts into it.

Interesting idea. This option can be discussed in #1204 as well.

-- 
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/1232#issuecomment-347428541

Received on Tuesday, 28 November 2017 06:40:04 UTC