Custom hosts no longer work in Browser mode #6076
Labels
feat: browser
Issues and PRs related to the browser runner
p4-important
Violate documented behavior or significantly improves performance (priority)
Describe the bug
vitest/packages/browser/src/client/client.ts
Line 14 in af7fec5
This line uses crypto.randomUUID() which is only available in a secure context. Localhost is considered secure, but when using a custom domain (we use one that is just an A record with 127.0.0.1) the page isn't secure without setting up SSL certs, so crypto.randomUUID() isn't available
Reproduction
then run browser tests as usual, they should fail
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: