Click here to download the Blitz Browser!

WPT

wpt / trusted-types / block-string-assignment-to-Element-insertAdjacentHTML.html

Spec: Trusted Types ↗

Runs: Chrome 155.0.8042.0 (wpt@0a3996025, 2026-09-04) | Firefox 157.0a1 (wpt@972e0e100, 2026-09-04) | Safari 251 preview (wpt@972e0e100, 2026-09-04) | Ladybird 1.0-481bc (wpt@d317428a6, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

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

ChromeFirefoxSafariLadybirdServoBlitz
Total7/77/77/77/77/7NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
insertAdjacentHTML with html assigned via policy (successful HTML transformation).PASSPASSPASSPASSPASS
insertAdjacentHTML(TrustedHTML) throws SyntaxError DOMException when position invalid.PASSPASSPASSPASSPASS
`insertAdjacentHTML(string)` throws.PASSPASSPASSPASSPASS
`insertAdjacentHTML(string)` still throws TypeError when position invalid.PASSPASSPASSPASSPASS
`insertAdjacentHTML(null)` throws.PASSPASSPASSPASSPASS
`insertAdjacentHTML(string)` assigned via default policy (successful HTML transformation).PASSPASSPASSPASSPASS
`insertAdjacentHTML(null)` assigned via default policy does not throw.PASSPASSPASSPASSPASS