Re: [w3c/ServiceWorker] clarify when FetchEvent.clientId will or will not be set for navigations (#1267)

>From an implementation point of view I'm a little uneasy overloading `FetchEvent.clientId` to mean both:

* If a subresource requests, then this is the client that determines all permissions, CSP, referrer policy, etc.
* If a non-subresource requests, then this is the client that started it, but it doesn't set any policy on this request.

Its just a bit non-ideal to try to use the same information for policy in one case, but exempt it from that policy in others.  But maybe thats an implementation specific concern. 

-- 
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/1267#issuecomment-361965084

Received on Wednesday, 31 January 2018 15:27:07 UTC