HTML & DOM Security
Trusted Types Policy
Inspect active browser Trusted Types policies and default sink behavior.
Checking support...
Feature Not SupportedThis browser does not support the Trusted Types Policy Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
console.log(trustedTypes.defaultPolicy);
About the Trusted Types Policy Web API
TrustedTypes policy objects define strict transformation rules for HTML, scripts, and URLs.
Specification:W3C & WHATWG Web API Standard
Sponsored Content