Re: [whatwg/fetch] Add unsafe-no-cors mode (PR #1533)

@annevk commented on this pull request.



> @@ -1796,13 +1798,27 @@ to not have to set <a for=/>request</a>'s <a for=request>referrer</a>.
   <dt>"<code>navigate</code>"
   <dd>This is a special mode used only when <a>navigating</a> between documents.
 
+  <dt>"<code>unsafe-no-cors</code>"

Yeah. I think in this case since web developers are not making the unsafe decision it's indeed probably best if they don't see the word unsafe. I think there are other cases though where web developers seeing the word unsafe is good, e.g., `unsafe-eval`.

I like `user-agent-no-cors` best still.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1533#discussion_r1066829017
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1533/review/1243660996@github.com>

Received on Wednesday, 11 January 2023 10:32:30 UTC