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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 6/6 | 6/6 | 6/6 | 5/6 | 6/6 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Document.execCommand("insertHTML") throws. | PASS | PASS | PASS | FAIL | PASS | — |
| Document.execCommand("insertHTML") works with a TrustedHTML argument. | PASS | PASS | PASS | PASS | PASS | — |
| Document.execCommand("paste") works as usual." | PASS | PASS | PASS | PASS | PASS | — |
| Document.execCommand("paste") works with a TrustedHTML argument. | PASS | PASS | PASS | PASS | PASS | — |
| Document.execCommand("insertHTML") works as usual with a default policy. | PASS | PASS | PASS | PASS | PASS | — |
| Document.execCommand("paste") works as usual with a default policy. | PASS | PASS | PASS | PASS | PASS | — |