Trusted Types Enforcement
This scenario stubs window.trustedTypes so policy creation fails, matching browsers that enforce Trusted Types without allowing our hub-embed policy. The embed should abort safely, display the inline error UI, and avoid hydrating any blocks.
This harness is intentionally noisy:
- Look for
[hub-embed]:sdk TRUSTED_TYPES_ABORTerrors — they confirm the guardrail is working. - Use the DevTools “Clear console” button before leaving so these expected errors do not follow you to other harnesses.
Mounting embed…