google / google/csp-evaluator

CSP extension for speculation rules

Open
#56 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
404
Forks
59
PR merge metrics
No merged PRs in 30d

Description

A new CSP keyword for speculation is being standardized, and has shipped in Chromium v110.

- [Draft specification link](https://wicg.github.io/nav-speculation/speculation-rules.html#content-security-policy-patches-script-src)
- [Chromestatus feature page](https://wicg.github.io/nav-speculation/speculation-rules.html)

The evaluator shouldn't error when encountering `'inline-speculation-rules'` as an argument to `script-src`, `script-src-elem`, `script-src-attr`, or equivalent.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.