Click here to download the Blitz Browser!

WPT

wpt / trusted-types / block-Document-execCommand.html

Spec: Trusted Types ↗

Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 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
Total6/66/66/65/66/6NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Document.execCommand("insertHTML") throws.PASSPASSPASSFAILPASS
Document.execCommand("insertHTML") works with a TrustedHTML argument.PASSPASSPASSPASSPASS
Document.execCommand("paste") works as usual."PASSPASSPASSPASSPASS
Document.execCommand("paste") works with a TrustedHTML argument.PASSPASSPASSPASSPASS
Document.execCommand("insertHTML") works as usual with a default policy.PASSPASSPASSPASSPASS
Document.execCommand("paste") works as usual with a default policy.PASSPASSPASSPASSPASS