Firefox 11 and GeoLocation failure callback

Everything works well, it's Firefox 10.x, but there was a problem updating to Firefox 11.

I use

navigator.geolocation.getCurrentPosition(success, failure)

but in FF11, the reject callback is not executed when the user refuses sharing by selecting Not Now.

Any suggestions?

+5
source share
2 answers

So, the answer at the moment is: “Impossible, Firefox by design will not trigger a crash event. Create an application around this limitation.”

+3
source

In fact, you get an error callback in Firefox ONLY if you click Never share location .

, ( ), .

( FF28)

edit: demo , Firefox.

0

All Articles