Automatic update from web-platform-tests
[Sanitizer] Add parseHTML testcases, and fix DOCTYPE handling.
Add WPT testcases for parseHTML + parseHTMLUnsafe.
Fix <!DOCTYPE> handling, as a follow-up to issue #288 / PR #285.
Previously, it was assumed Doc-Type nodes couldn't make it into
the sanitizer implementation; but with the change to parseHTML
context they can.
Spec: https://github.com/WICG/sanitizer-api/issues/288
Spec: https://github.com/WICG/sanitizer-api/pull/285
Bug: 356601280
Change-Id: Iec797b929eb3b90d5f08318bb28964d2f683acb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6523521
Reviewed-by: Yifan Luo <[email protected]>
Commit-Queue: Daniel Vogelheim <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1457595}
wpt-commits: 95a60666dc001951821439078be97c0bcb421476
wpt-pr: 52406