Trusted types
Trusted types allow you to lock down insecure parts of the DOM API and prevent client-side cross-site scripting (XSS) attacks.
Status
Limited availability
MDN documentation
Specifications
- Trusted Types, from Web Application Security Working Group (W3C).
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 ❌ See bugzil.la/1508286 Vendor position : positive
- Firefox for Android ❌ See bugzil.la/1508286 Vendor position : positive
- Safari 26 Released on 2025-09-15
- Safari on iOS 26 Released on 2025-09-15
Baseline availability blocked since September 2025 by Firefox (3 months)
Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper signals
Votes: 0
If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist