4 ms·
New CSS properties are only going to work in secure contexts? How is local development supposed to occur? E: there's going to be some flag to enable it for de
by Scaevolus 9y ago
New CSS properties are only going to work in secure contexts?
How is local development supposed to occur?
E: there's going to be some flag to enable it for development
- kam 9y agohttp://localhost http://localhost and file:// are considered secure contexts according to https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#When_is_a_context_considered_secure https://developer.mozilla.org/en-US/docs/Web/Security/Secure...
- bzbarsky 9y agofile://, http://localhost http://localhost, and http://127.0.0.1 http://127.0.0.1 (as well as some other defined-to-be-localhost IPs) are all considered "secure contexts". There's still a problem here, of course: things can work locally but fail when deployed to an http:// http:// site.