diff --git a/features/parse-html-unsafe.yml b/features/parse-html-unsafe.yml index 67eb30907fd..d9d22555582 100644 --- a/features/parse-html-unsafe.yml +++ b/features/parse-html-unsafe.yml @@ -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 a declarative shadow root in the parsed HTML, then the elements' constructors and `connectedCallback()` methods are not called. +# References: +# - https://bugs.webkit.org/show_bug.cgi?id=296420 diff --git a/features/parse-html-unsafe.yml.dist b/features/parse-html-unsafe.yml.dist index 4d5891b8c56..d009ba171d4 100644 --- a/features/parse-html-unsafe.yml.dist +++ b/features/parse-html-unsafe.yml.dist @@ -2,39 +2,30 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: low - baseline_low_date: 2024-07-09 + baseline: false support: chrome: "124" chrome_android: "124" edge: "124" firefox: "128" firefox_android: "128" - safari: "17.4" - safari_ios: "17.4" compat_features: - # baseline: low - # baseline_low_date: 2024-04-18 + # baseline: false # support: # chrome: "124" # chrome_android: "124" # edge: "124" # firefox: "123" # firefox_android: "123" - # safari: "17.4" - # safari_ios: "17.4" - api.Element.setHTMLUnsafe - api.ShadowRoot.setHTMLUnsafe # ⬇️ Same status as overall feature ⬇️ - # baseline: low - # baseline_low_date: 2024-07-09 + # baseline: false # support: # chrome: "124" # chrome_android: "124" # edge: "124" # firefox: "128" # firefox_android: "128" - # safari: "17.4" - # safari_ios: "17.4" - api.Document.parseHTMLUnsafe_static diff --git a/package-lock.json b/package-lock.json index ad462ef2d7a..ef2d8570473 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.32.0", "@js-temporal/polyfill": "^0.5.1", - "@mdn/browser-compat-data": "^6.0.36", + "@mdn/browser-compat-data": "^6.0.37", "@octokit/rest": "^22.0.0", "@types/caniuse-lite": "^1.0.4", "@types/node": "^20.19.9", @@ -797,9 +797,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "6.0.36", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.0.36.tgz", - "integrity": "sha512-bvPldvzuJ5FrIYPuXpoX7WedcBQzdia3rQpUbASxJ89ggzdh6Hxisfx3R5b4UwFOUEj3Qps9CAcToxhCrZI0Nw==", + "version": "6.0.37", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-6.0.37.tgz", + "integrity": "sha512-Z2+c0PAoKdrCNRHeOg6yLNx6oxVw1rYs6dz5MedomtVSINRMYNmUuEKKoq3EBp+bbcQI16v4KnksYl2wToCTUQ==", "license": "CC0-1.0" }, "node_modules/@nodelib/fs.scandir": { diff --git a/package.json b/package.json index 6e17b7f2880..0ebc13c0208 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "devDependencies": { "@eslint/js": "^9.32.0", "@js-temporal/polyfill": "^0.5.1", - "@mdn/browser-compat-data": "^6.0.36", + "@mdn/browser-compat-data": "^6.0.37", "@octokit/rest": "^22.0.0", "@types/caniuse-lite": "^1.0.4", "@types/node": "^20.19.9",