Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
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
21 changes: 21 additions & 0 deletions features/parse-html-unsafe.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated from: parse-html-unsafe.yml
# Do not edit this file by hand. Edit the source file instead!

name: Unsafe HTML parsing methods
description: The `Document.parseHTMLUnsafe()` static method and `setHTMLUnsafe()` method of `Element` and `ShadowRoot` TODO.
spec: https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#unsafe-html-parsing-methods
status:
baseline: low
baseline_low_date: 2024-04-18
support:
chrome: "124"
chrome_android: "124"
edge: "124"
firefox: "123"
firefox_android: "123"
safari: "17.4"
safari_ios: "17.4"
compat_features:
- api.Document.parseHTMLUnsafe_static
- api.Element.setHTMLUnsafe
- api.ShadowRoot.setHTMLUnsafe
7 changes: 7 additions & 0 deletions features/parse-html-unsafe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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
compat_features:
- api.Document.parseHTMLUnsafe_static
- api.Element.setHTMLUnsafe
- api.ShadowRoot.setHTMLUnsafe