- From: Ben Kelly <notifications@github.com>
- Date: Wed, 02 Aug 2017 13:51:18 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 August 2017 13:51:41 UTC
Do we care about sites observing there is a service worker? We break that in other places. For example, this code: ``` let response = await fetch(crossOriginURL, { mode: 'no-cors' }); let text = await response.text(); ``` Without a service worker the response will always be opaque and the text will be empty string. A service worker can return a basic Response, though, and the spec currently says to expose that basic response to the outer page. So in that case the body could be observed. (There was a spec issue about this case, but I don't have it handy at the moment.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/572#issuecomment-319678204
Received on Wednesday, 2 August 2017 13:51:41 UTC