Closed Bug 492813 Opened 17 years ago Closed 17 years ago

handle null/empty locations returned from geolocation providers

Categories

(Core :: DOM: Geolocation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 488629

People

(Reporter: dougt, Unassigned)

Details

from email: I was experimenting with FF 3.5b4 Geolocation and noticed that when GLS can't find a geocode, and returns '{}' as the JSON response, FF encounters an error at <FF 3.5 installation directory>/components/NetworkGeolocationProvider.js, line 213 - 'response.location is undefined'. It seems that it's expecting there always to be a 'location' object in the JSON response - ie '{"location": null}'.
basically a dup of 488629.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.