← back to v145 · trusted-types-spec-alignment
conformance · v145
v145 · trusted-types-spec-alignment — conformance probe
6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
6
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
trusted-types-policy-factory-exists |
window.trustedTypes is exposed — the TrustedTypePolicyFactory entry point. spec ↗ | exists | … | |
create-policy-is-function |
trustedTypes.createPolicy is a function — the API used to register a sanitiser policy. spec ↗ | script | … | |
trusted-html-interface-exists |
TrustedHTML is exposed — the type carried through sinks like Element.innerHTML. spec ↗ | exists | … | |
trusted-script-interface-exists |
TrustedScript is exposed — wraps script bodies passed to eval/script-content sinks. | exists | … | |
trusted-script-url-interface-exists |
TrustedScriptURL is exposed — wraps URLs used as script src. | exists | … | |
create-policy-roundtrip |
Creating a no-op policy and producing a TrustedHTML succeeds. spec ↗ | script | … |