From 72be227680092d20319ae4f4c69779a1e71ed7cb Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Wed, 17 Feb 2021 19:26:23 +0900 Subject: [PATCH] Clarify request's mode "cors" value --- fetch.bs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fetch.bs b/fetch.bs index b3f80fc39..c17629dce 100644 --- a/fetch.bs +++ b/fetch.bs @@ -1390,8 +1390,10 @@ to not have to set request's referrer. network error if the request is not made to a same-origin URL.
"cors" -
Makes the request a CORS request. Fetch will return a network error if the - requested resource does not understand the CORS protocol. +
For requests whose response tainting gets set to "cors", makes + the request a CORS request — in which case, fetch will return a network error if the + requested resource does not understand the CORS protocol, or if the requested resource is + one that intentionally does not participate in the CORS protocol.
"no-cors"
Restricts requests to using CORS-safelisted methods and