Re: [whatwg/fetch] Define preconnect and dns-prefetch with CSP (PR #1620)

> It's unfortunate these have to be separate algorithms. I was hoping we could do CSP checks as part of the normal "obtain a connection" routine.

We can do that but then there would be double CSP checks, one for the request and one for the "fake" request, or we can add a flag to obtain/resolve of whether to perform the CSP check.

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

Message ID: <whatwg/fetch/pull/1620/c1519843565@github.com>

Received on Monday, 24 April 2023 10:12:56 UTC