{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.Document.parseHTMLUnsafe_static",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.Document.parseHTMLUnsafe_static",
    "cat": "api",
    "mdn": "API/Document/parseHTMLUnsafe_static",
    "spec": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsehtmlunsafe",
    "st": 1,
    "wf": "parse-html-unsafe",
    "bl": "low",
    "bld": 20346,
    "s": {
      "chrome": {
        "v": "124",
        "d": 19829
      },
      "firefox": {
        "v": "128",
        "d": 19913
      },
      "safari": {
        "v": "26",
        "d": 20346
      },
      "edge": {
        "v": "124",
        "d": 19831
      },
      "chrome_android": {
        "v": "124",
        "d": 19829
      },
      "firefox_android": {
        "v": "128",
        "d": 19913
      },
      "safari_ios": {
        "v": "26",
        "d": 20346
      },
      "webview_android": {
        "v": "124",
        "d": 19829
      },
      "webview_ios": {
        "v": "26",
        "d": 20346
      },
      "samsunginternet_android": {
        "v": "27.0",
        "d": 20033
      },
      "opera": {
        "v": "110",
        "d": 19857
      },
      "opera_android": {
        "v": "82",
        "d": 19845
      },
      "oculus": {
        "v": "33",
        "d": 19837
      }
    },
    "notes": [
      {
        "t": "Throws error <code>NS_ERROR_UNEXPECTED</code> (<a href=\"https://bugzil.la/1887817\">bug 1887817</a>.)",
        "b": [
          "firefox",
          "firefox_android"
        ]
      },
      {
        "t": "If there are custom elements in a declarative shadow root in the parsed HTML, then the elements' constructors and <code>connectedCallback()</code> methods are not called (<a href=\"https://webkit.org/b/296420\">bug 296420</a>).",
        "b": [
          "safari",
          "safari_ios",
          "webview_ios"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "parse-html-unsafe",
    "name": "Unsanitized HTML parsing",
    "description": "The Document.parseHTMLUnsafe() static method parses HTML into a DOM tree, much like the setHTMLUnsafe() DOM method inserts HTML into an existing tree. No sanitization applies, so never call it with user-provided strings.",
    "group": "other",
    "groupName": "other",
    "spec": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization",
    "baseline": "low",
    "baselineLowDate": "2025-09-15",
    "baselineLowDay": 20346,
    "compatCount": 1,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.Document.parseHTMLUnsafe_static"
    ],
    "s": {
      "chrome": {
        "v": "124",
        "d": 19829
      },
      "chrome_android": {
        "v": "124",
        "d": 19829
      },
      "edge": {
        "v": "124",
        "d": 19831
      },
      "firefox": {
        "v": "128",
        "d": 19913
      },
      "firefox_android": {
        "v": "128",
        "d": 19913
      },
      "safari": {
        "v": "26",
        "d": 20346
      },
      "safari_ios": {
        "v": "26",
        "d": 20346
      }
    }
  }
}