Trusted types
Limited availability
Trusted types allow you to lock down insecure parts of the DOM API and prevent client-side cross-site scripting (XSS) attacks.
Learning resources on MDN
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 ❌ See webkit.org/b/266630 Vendor position : support (concerns: complexity)
- Safari on iOS ❌ See webkit.org/b/266630 Vendor position : support (concerns: complexity)
Specifications
- Trusted Types, from Web Application Security Working Group (W3C).