Click here to download the Blitz Browser!

WPT

wpt / content-security-policy / nonce-hiding / script-nonces-hidden.html

Spec: Content Security Policy ↗

Runs: Chrome 155.0.8039.0 (wpt@2b4dfe72c, 2026-09-03) | Firefox 157.0a1 (wpt@2b4dfe72c, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@ed1909ed6, 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
Total12/1212/1212/1210/1211/12NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Reading 'nonce' content attribute and IDL attribute.PASSPASSPASSPASSPASS
Cloned node retains nonce.PASSPASSPASSPASSPASS
Cloned node retains nonce when inserted.PASSPASSPASSPASSPASS
Writing 'nonce' content attribute.PASSPASSPASSPASSPASS
Writing 'nonce' IDL attribute.PASSPASSPASSPASSPASS
Document-written script executes.PASSPASSPASSPASSPASS
Document-written script's nonce value.PASSPASSPASSPASSPASS
createElement.nonce.PASSPASSPASSFAILFAIL
setAttribute('nonce') overwrites '.nonce' upon insertion.PASSPASSPASSPASSPASS
createElement.setAttribute.PASSPASSPASSPASSPASS
Custom elements expose the correct events.PASSPASSPASSFAILPASS
Nonces don't leak via CSS side-channels.PASSPASSPASSPASSPASS