Re: [whatwg/fetch] Add TAO check (#955)

annevk commented on this pull request.



> @@ -3896,6 +3901,9 @@ optional <i>CORS flag</i> and <i>CORS-preflight flag</i>, run these steps:
     or <a for=/>responses</a> from a service worker for that matter, it is applied here.
   </ol>
 
+ <li><p>If the <a>TAO check</a> for <var>request</var> and <var>response</var> returns failure, then
+  set <var>request</var>'s <a for=request>timing allow failed flag</a>.

If we store it on the response, it will already be there because the service worker did its own fetch that went to the network at some point. This will also make it work correctly for responses we store with the Cache API and such, I think.

-- 
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/955#discussion_r340680244

Received on Wednesday, 30 October 2019 15:18:40 UTC