Firefox Tomorrow

web api instance property

WorkerGlobalScope: trustedTypes property

View on MDN ↗

Available in workers

The trustedTypes read-only property of the WorkerGlobalScope 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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.