Closed
Bug 726892
Opened 13 years ago
Closed 13 years ago
geolocation
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 675533
People
(Reporter: liwen.2008.ma, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11
Steps to reproduce:
When user deny geolocation service as the google map initial location, try to catch the error code PERMISSION_DENIED and alert user we will use the default LAT,LON to replace.
Actual results:
FireFox never response the error code when user has denied geolocation service, my javascript can't get any callback, so the google map initiallization corrupts, leave a blank map.
Expected results:
Firefox responses PERMISSION_DENIED error code for my javascript to do the callback treatment.
Updated•13 years ago
|
Component: Untriaged → Geolocation
Product: Firefox → Core
QA Contact: untriaged → geolocation
You can reference to the following page:
http://dev.w3.org/geo/api/spec-source.html#position_error_interface
Comment 2•13 years ago
|
||
This is by design. Users can delay answering the dialog an arbitrary amount of time, so your code needs to be able to handle not receiving an aswer.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•