I have a standard call to the geolocation api on my web application :
navigator.geolocation.getCurrentPosition(foundLocation, noLocation);
Well, a user press OK on his device (so, he confirm the access for sharing data).
If the location is found trought the GPS the function foundLocation is called; else, it calls noLocation.
What I need is to check if a user have pressed OK (at the beginning) or he have aborted the sharing data with GPS.
How can I catch that event? Hope the question is clear more or less…
as specified by http://dev.w3.org/geo/api/spec-source.html
UPDATE
Seems to be a bug within mozilla https://bugzilla.mozilla.org/show_bug.cgi?id=675533. Not sure if they will fix this?