Re: [w3c/ServiceWorker] what should Client.url return for a reserved Worker Client? (#1034)

I thought using `client.url` within fetch event handlers woudld be fine assuming we fix it to be initialized to the request's url in all cases.

I actually got confused while thinking over your question. For the clients that are not in reserved state, is `client.url` supposed to return the final response's url instead of the request's url? If so, I think it needs changes as well. And if we change that as such, `client.url`'s value will dynamically change and its value for worker client redirect case would not be determinstic. Is this what you've concerned?

-- 
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/1034#issuecomment-267942186

Received on Monday, 19 December 2016 11:26:31 UTC