Hacker News new | ask | show | jobs
by Scaevolus 3080 days 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

2 comments

http://localhost and file:// are considered secure contexts according to https://developer.mozilla.org/en-US/docs/Web/Security/Secure...
file://, http://localhost, and 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:// site.