Window: trustedTypes property

Baseline 2026
Newly available

Since February 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

>

The trustedTypes read-only property of the Window interface returns the TrustedTypePolicyFactory object associated with the global object, providing the entry point for using the Trusted Types API.

Value

A TrustedTypePolicyFactory object.

Specifications

Specification
Trusted Types>
# extensions-to-the-windoworworkerglobalscope-interface>

Browser compatibility