Skip to content

Conversation

@hybrist
Copy link
Contributor

@hybrist hybrist commented Jan 24, 2026

This fixes a client runtime crash when using Vite on a page with trusted types enforcement enabled.
It's valuable to allow testing trusted types behavior in development so issues aren't discovered later
when going back and fixing code becomes much more expensive.

Add E2E tests to verify that Vite's HMR client works correctly
when Trusted Types are enforced via CSP headers. The tests verify:
- HMR connects successfully without Trusted Types violations
- HMR updates work correctly with the vite-hmr policy
@hybrist hybrist marked this pull request as ready for review January 25, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants