---
id: "api.ShadowRoot.setHTMLUnsafe.enforces_trusted_types"
kind: "bcd"
category: "api"
canonical: "https://timetostable.com/feature/api.ShadowRoot.setHTMLUnsafe.enforces_trusted_types"
bcd_version: "8.1.11"
---

# `api.ShadowRoot.setHTMLUnsafe.enforces_trusted_types`

- **Category**: DOM API
- **Web Feature**: [trusted-types](/feature/trusted-types)
- **Specification**: https://w3c.github.io/trusted-types/dist/spec/#dom-xss-injection-sinks

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 124 | 2024-04-16 |
| Chrome Android | 124 | 2024-04-16 |
| WebView Android | 124 | 2024-04-16 |
| Edge | 124 | 2024-04-18 |
| Quest Browser | 33 | 2024-04-24 |
| Opera Android | 82 | 2024-05-02 |
| Opera | 110 | 2024-05-14 |
| Samsung Browser | 27.0 | 2024-11-06 |
| Safari | 26 | 2025-09-15 |
| Safari on iOS | 26 | 2025-09-15 |
| WebView on iOS | 26 | 2025-09-15 |
| Firefox | 148 | 2026-02-24 |
| Firefox for Android | 148 | 2026-02-24 |

