News for hackers. Stuff that matters.
Re:Geolocation API removed from unsecured origins in Chrome 50 by Klathmon on Friday April 29, 2016 @10:47AM (#11596048)
Oh shit really? That's awesome!
Re:Geolocation API removed from unsecured origins in Chrome 50 by randall on Friday April 29, 2016 @12:31PM (#11596811)
I think it was Chrome 48. It also doesn't work for localhost.
Re:Geolocation API removed from unsecured origins in Chrome 50 by nfriedly on Friday April 29, 2016 @12:50PM (#11596971)
I think you're mistaken about localhost, this works fine for me on localhost:3000

    navigator.getUserMedia({
        video: true, 
        audio: true
      },
      console.log.bind(console, 'success'),
      console.log.bind(console, 'error')
    );
Chrome v50.0.2661.94 (64-bit) on OS X
Re:Geolocation API removed from unsecured origins in Chrome 50 by Klathmon on Friday April 29, 2016 @12:44PM (#11596916)
Localhost is considered secure context, so it should still work for that...

It won't work with file:/// urls, but localhost is fine.

At least it was for me in 49 a couple weeks ago.

Re:Geolocation API removed from unsecured origins in Chrome 50 by artursapek on Friday April 29, 2016 @03:23PM (#11598123)
It would be pretty hard to use the API if you couldn't test your code on localhost :P