Click here to download the Blitz Browser!

WPT

wpt / trusted-types / eval-with-permissive-csp.html

Spec: Trusted Types ↗

Runs: Chrome 155.0.8039.0 (wpt@d0c38285b, 2026-09-03) | Firefox 157.0a1 (wpt@ed1909ed6, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@cc4d45aa0, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total9/99/99/99/99/9NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
eval with plain string with Trusted Types and permissive CSP throws (no type).PASSPASSPASSPASSPASS
indirect eval with plain string with Trusted Types and permissive CSP throws (no type).PASSPASSPASSPASSPASS
Function constructor with plain string with Trusted Types and permissive CSP throws (no type).PASSPASSPASSPASSPASS
eval with TrustedScript and permissive CSP works.PASSPASSPASSPASSPASS
indirect eval with TrustedScript and permissive CSP works.PASSPASSPASSPASSPASS
new Function with TrustedScript and permissive CSP works.PASSPASSPASSPASSPASS
eval with plain string with Trusted Types and permissive CSP works with default policy.PASSPASSPASSPASSPASS
indirect eval with plain string with Trusted Types and permissive CSP works with default policy.PASSPASSPASSPASSPASS
new Function with plain string default policy and permissive CSP works with default policy.PASSPASSPASSPASSPASS