Re: [whatwg/fetch] Clarify cors requests need cors response tainting (#1170)

@sideshowbarker commented on this pull request.



> @@ -1390,7 +1390,8 @@ to not have to set <a for=/>request</a>'s <a for=request>referrer</a>.
   <a>network error</a> if the request is not made to a same-origin URL.
 
   <dt>"<code>cors</code>"
-  <dd>Makes the request a <a>CORS request</a>. Fetch will return a <a>network error</a> if the
+  <dd>For requests whose <a for=request>response tainting</a> gets set to "<code>cors</code>", makes
+  the request a <a>CORS request</a> — in which case, fetch will return a <a>network error</a> if the
   requested resource does not understand the <a>CORS protocol</a>.

Went with: “or if the requested resource is one that intentionally does not participate in the CORS protocol”

-- 
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/1170#discussion_r577492757

Received on Wednesday, 17 February 2021 10:24:24 UTC