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.8038.0 (wpt@05fffeacb, 2026-09-02) | Firefox 157.0a1 (wpt@7addae031, 2026-09-02) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-410b4 (wpt@ce41a9c47, 2026-09-02) | 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
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