whatwg/fetch

Update Note on Request Destination / CSP directive

开放

#1,466 创建于 2022年7月6日

 (6 条评论) (0 个反应) (0 位负责人)HTML (401 个派生)batch import
clarificationgood first issue

仓库指标

星标
 (2,249 个星标)
PR 合并指标
 (平均合并 66天 10小时) (30 天内合并 4 个 PR)

描述

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)

贡献者指南