Re: [ServiceWorker] Does a SW control a page outside its scope reached by a redirect? (#706)

In any case above, Fetch does not follow the redirect (as the original request sets the redirect mode to manual - [navigate step 15](https://html.spec.whatwg.org/#navigate)). So when the navigation algorithm got the redirect, it either fetch the target URL of the redirect again or abort (if the URL is off-origin.)

In the case Fetch calls the Handle Fetch with the request for the redirect URL, it tries to match SWR again. I think if it matches any, that client should be controlled by the matched SW.

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

Received on Tuesday, 2 June 2015 03:35:57 UTC