whatwg/fetch

Update Note on Request Destination / CSP directive

Open

#1,466 opened on Jul 6, 2022

View on GitHub
 (6 comments) (0 reactions) (0 assignees)HTML (394 forks)batch import
clarificationgood first issue

Repository metrics

Stars
 (2,051 stars)
PR merge metrics
 (Avg merge 66d 10h) (4 merged PRs in 30d)

Description

https://fetch.spec.whatwg.org/#concept-request-destination shows the CSP directive for a specific destination. I think that list needs to be updated to Content Security Policy Level 3. For example the destination "script" should now be "script-src-elem". (ref https://w3c.github.io/webappsec-csp/#effective-directive-for-a-request)

Contributor guide