Trusted types
Newly Available (since 2026-02-24)
Expected to be Widely Available on 2028-08-24
Trusted types allow you to lock down insecure parts of the DOM API and prevent client-side cross-site scripting (XSS) attacks.
Browser support (view on caniuse.com)
- Chrome 83 Released on 2020-05-19
- Chrome Android 83 Released on 2020-05-19
- Edge 83 Released on 2020-05-21
- Firefox 148 Released on 2026-02-24
- Firefox for Android 148 Released on 2026-02-24
- Safari 26 Released on 2025-09-15
- Safari on iOS 26 Released on 2025-09-15
MDN documentation
Specifications
- Trusted Types, from Web Application Security Working Group (W3C).
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist