What's the recommendation for all front-end developers testing Geolocation from localhost or its equivalent going forward?
I've read the Deprecating Powerful Features on Insecure Origins documentation and related FAQs that apply to following error but I'm confused because the FAQ says that HTTP will still be allowed, but it doesn't clarify the use of localhost:
"getCurrentPosition() and watchPosition() are deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See
https://goo.gl/rStTGz for more details."
I believe this applies to development on origins related to or similar to the following when served locally:
localhost/
web.local/
192.168.x.x/
etc.
Not all front-end dev shops will be able to remote into a non-local server for development and testing. Furthermore, this potentially places a significant burden to use multiple machines or production/external web servers for testing and continuous integration development patterns where a single machine is significantly more desirable.
Additional Reference:
https://sites.google.com/a/chromium.org/dev/Home/chromium-security/marking-http-as-non-secure