{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.HTMLScriptElement.src.enforces_trusted_types",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.HTMLScriptElement.src.enforces_trusted_types",
    "cat": "api",
    "spec": "https://w3c.github.io/trusted-types/dist/spec/#dom-htmlscriptelement-src",
    "st": 1,
    "wf": "trusted-types",
    "bl": "low",
    "bld": 20508,
    "s": {
      "chrome": {
        "v": "83",
        "d": 18401
      },
      "firefox": {
        "v": "148",
        "d": 20508
      },
      "safari": {
        "v": "26",
        "d": 20346
      },
      "edge": {
        "v": "83",
        "d": 18403
      },
      "chrome_android": {
        "v": "83",
        "d": 18401
      },
      "firefox_android": {
        "v": "148",
        "d": 20508
      },
      "safari_ios": {
        "v": "26",
        "d": 20346
      },
      "webview_android": {
        "v": "83",
        "d": 18401
      },
      "webview_ios": {
        "v": "26",
        "d": 20346
      },
      "samsunginternet_android": {
        "v": "13.0",
        "d": 18598
      },
      "opera": {
        "v": "69",
        "d": 18437
      },
      "opera_android": {
        "v": "59",
        "d": 18443
      },
      "oculus": {
        "v": "10.0",
        "d": 18432
      }
    }
  },
  "webFeature": {
    "id": "trusted-types",
    "name": "Trusted types",
    "description": "Trusted types allow you to lock down insecure parts of the DOM API and prevent client-side cross-site scripting (XSS) attacks.",
    "group": "security",
    "groupName": "Security",
    "spec": "https://w3c.github.io/trusted-types/dist/spec/",
    "baseline": "low",
    "baselineLowDate": "2026-02-24",
    "baselineLowDay": 20508,
    "compatCount": 44,
    "cats": [
      "api",
      "http"
    ],
    "compatKeysSample": [
      "api.DOMParser.parseFromString.enforces_trusted_types",
      "api.Document.parseHTMLUnsafe_static.enforces_trusted_types",
      "api.Element.innerHTML.enforces_trusted_types",
      "api.Element.insertAdjacentHTML.enforces_trusted_types",
      "api.Element.outerHTML.enforces_trusted_types",
      "api.Element.setHTMLUnsafe.enforces_trusted_types",
      "api.HTMLIFrameElement.srcdoc.enforces_trusted_types",
      "api.HTMLScriptElement.innerText.enforces_trusted_types",
      "api.HTMLScriptElement.src.enforces_trusted_types",
      "api.HTMLScriptElement.text.enforces_trusted_types",
      "api.HTMLScriptElement.textContent.enforces_trusted_types",
      "api.Range.createContextualFragment.enforces_trusted_types",
      "api.ShadowRoot.innerHTML.enforces_trusted_types",
      "api.ShadowRoot.setHTMLUnsafe.enforces_trusted_types",
      "api.TrustedHTML",
      "api.TrustedHTML.toJSON",
      "api.TrustedHTML.toString",
      "api.TrustedScript",
      "api.TrustedScript.toJSON",
      "api.TrustedScript.toString",
      "api.TrustedScriptURL",
      "api.TrustedScriptURL.toJSON",
      "api.TrustedScriptURL.toString",
      "api.TrustedTypePolicy",
      "api.TrustedTypePolicy.createHTML"
    ],
    "s": {
      "chrome": {
        "v": "83",
        "d": 18401
      },
      "chrome_android": {
        "v": "83",
        "d": 18401
      },
      "edge": {
        "v": "83",
        "d": 18403
      },
      "firefox": {
        "v": "148",
        "d": 20508
      },
      "firefox_android": {
        "v": "148",
        "d": 20508
      },
      "safari": {
        "v": "26",
        "d": 20346
      },
      "safari_ios": {
        "v": "26",
        "d": 20346
      }
    }
  }
}