Closed Bug 1336285 Opened 8 years ago Closed 8 years ago

navigator.geolocation() does not fire an event on "Not Now" selection

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect)

51 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 675533

People

(Reporter: matt1256, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce:

OS: OSX v10.11.6
FF: 51.0.1

Requested permission to get user location with navigator.geolocation.getUserPosition(successCallback, errorCallback).


Actual results:

If a users allows or denies permission, the callbacks fire appropriately. If the user selects "Not Now" there is no event, and cannot be handled in any fashion other than a setTimeout.


Expected results:

A user selecting "Not Now" should notify the application of that selection so that the application may proceed. User experience is greatly affected when timeouts are either too short to make a decision (and therefore one is made for them via the error callback), or too long such that if an application requires a decision to be made that the user must wait until the timeout expires.
Thank you for the report, this will be fixed in Firefox 53, see bug 675533. The planned release date is 2017-04-18.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Component: Untriaged → Notifications and Alerts
Product: Firefox → Toolkit
Resolution: --- → DUPLICATE
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.