Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add regression comment for parse-html-unsafe
  • Loading branch information
ddbeck committed Aug 6, 2025
commit ed30ebf543a98a7273318d7e6b38e4a419eed168
5 changes: 5 additions & 0 deletions features/parse-html-unsafe.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
name: Unsanitized HTML parsing methods
description: The `Document.parseHTMLUnsafe()` static method parses HTML into a DOM tree, while the `setHTMLUnsafe()` method of `Element` and `ShadowRoot` parses and inserts HTML into an existing tree. No sanitization applies to these methods, so never call them with user-provided HTML strings.
spec: https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#unsafe-html-parsing-methods
# TODO: https://github.com/web-platform-dx/web-features/issues/1971
# Status changed: https://github.com/web-platform-dx/web-features/pull/3200
# 2025-08-06 - low → false - In Safari, if there are custom elements in the parsed HTML, then the elements' constructors and `connectedCallback()` methods are not called.
# References:
# - https://bugs.webkit.org/show_bug.cgi?id=296420