WPT
wpt / sanitizer-api / html5lib-basics.html
Spec: HTML Sanitizer API ↗
Runs: Chrome 155.0.8042.0 (wpt@168cb0286, 2026-09-04) | Firefox 157.0a1 (wpt@1b4bc17cf, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-17043 (wpt@25681acff, 2026-09-04) | 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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 18/18 | 14/18 | 18/18 | 18/18 | 18/18 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Testcase #0 with .setHTMLUnsafe("Hello!") | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #0, .innerHTML matches .setHTMLUnsafe | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #1 with .setHTMLUnsafe("<p>bla") | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #1, .innerHTML matches .setHTMLUnsafe | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #2 with .setHTMLUnsafe("<p id=abc def='123'>texty<!-- xxx -->textz") | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #2, .innerHTML matches .setHTMLUnsafe | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #3 with .setHTMLUnsafe("<p>Hello <b>World</b><span>!") | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #3, .innerHTML matches .setHTMLUnsafe | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #4 with .setHTMLUnsafe("<p>A template example.<template>Hello <b>World</b></template>!") | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #4, .innerHTML matches .setHTMLUnsafe | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #5 with .setHTMLUnsafe("<td>Interesting parse context.</td>") | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #5, .innerHTML matches .setHTMLUnsafe | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #6 with .setHTMLUnsafe("<p>A rather boring parse context.") | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #6, .innerHTML matches .setHTMLUnsafe | PASS | PASS | PASS | PASS | PASS | — |
| Testcase #7 with .setHTMLUnsafe("<table><b>a</b>bb<tr><td>y") | PASS | FAIL | PASS | PASS | PASS | — |
| Testcase #7, .innerHTML matches .setHTMLUnsafe | PASS | FAIL | PASS | PASS | PASS | — |
| Testcase #8 with .setHTMLUnsafe("<table><div>d</div><td>") | PASS | FAIL | PASS | PASS | PASS | — |
| Testcase #8, .innerHTML matches .setHTMLUnsafe | PASS | FAIL | PASS | PASS | PASS | — |