Closed Bug 1000308 Opened 10 years ago Closed 6 years ago

When Geolocation Setting is Off, Geolocation API never calls back (in FxOS 1.3)

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: reeder_29, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140314220517

Steps to reproduce:

1) In the Setting app, turn Geolocation off.

2) Install & run Robert Nyman's Boilerplate app (https://github.com/robnyman/Firefox-OS-Boilerplate-App)

3) Tap the Geolocation button, system geolocation permission dialog appears

4) tap Share


[The same problem happens with my app, but the boilerplate app is simpler to see that the app code makes sense.]


Actual results:

Neither the success nor failure callbacks are ever called


Expected results:

Either 
a) the system geolocation permission dialog should not have appeared (because the user has turned geolocation off) and the failure callback should be called with code 2

or

b) the system displays a different dialog, which allows the user to turn the system geolocation setting on
This worked correctly in FxOS 1.2.
Please check bugs 1092970 and 811470 . In my view, they solve the same problem as you have.
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.