Re: [whatwg/fetch] processResponseDone should receive a response (#1202)

@annevk commented on this pull request.



> @@ -1932,10 +1932,6 @@ message as HTTP/2 does not support them.
 <dfn export for=response id=concept-response-cache-state>cache state</dfn> (the empty string or
 "<code>local</code>"). Unlesss stated otherwise, it is the empty string.
 
-<p class=note>This is intended solely for usage by service workers. [[SW]]
-<!-- If we ever expand the utility of this we need to carefully consider whether filtered responses
-     need to mask it, whether the cache API needs to store it, etc. -->

I think we should keep this including the comment and instead say something like

> `This is intended for usage by <cite>Service Workers</cite> and <cite>Resource Timing</cite>.`

I guess for Resource Timing we also need opaque responses (that have TAO) to leak this information. I'll have a look if that needs more work.

-- 
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/pull/1202#pullrequestreview-639981326

Received on Tuesday, 20 April 2021 13:55:02 UTC