Skip to content

[Sanitizer] Add parseHTML testcases, and fix DOCTYPE handling.#52406

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-ca3ea00bc0
May 9, 2025
Merged

[Sanitizer] Add parseHTML testcases, and fix DOCTYPE handling.#52406
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-ca3ea00bc0

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

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: WICG/sanitizer-api#288
Spec: WICG/sanitizer-api#285
Bug: 356601280
Change-Id: Iec797b929eb3b90d5f08318bb28964d2f683acb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6523521
Reviewed-by: Yifan Luo <lyf@chromium.org>
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1457595}

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: WICG/sanitizer-api#288
Spec: WICG/sanitizer-api#285
Bug: 356601280
Change-Id: Iec797b929eb3b90d5f08318bb28964d2f683acb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6523521
Reviewed-by: Yifan Luo <lyf@chromium.org>
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1457595}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@jonathan-j-lee jonathan-j-lee reopened this May 9, 2025
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 95a6066 into master May 9, 2025
18 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-ca3ea00bc0 branch May 9, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants