Closed
Bug 492345
Opened 15 years ago
Closed 15 years ago
Second use of geolocation in linux fails with javascript error
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 490046
People
(Reporter: philip, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 This occurs in Linux (Fedora 9) but not windows. When I set up a sample page to test geolocation, the first use works OK, but the second use reports in the error console: Error: update is null Source File: file:///usr/local/src/firefox35b4/components/NetworkGeolocationProvider.js Line: 218 The browser must be closed & reopened before another geolocation will work. Reproducible: Always Steps to Reproduce: 1. Sample page: <html> <script> function location_func_pointer (position) { alert ("Latitude: "+position.coords.latitude+" Longitude: "+position.coords.longitude); } </script> <button onclick="navigator.geolocation.getCurrentPosition(location_func_pointer);">See my location!</button> </html> 2. Click on the button once - which displays your location 3. Click on the button again - which displays nothing Actual Results: No location available at the second attempt Expected Results: Location should be available
Comment 1•15 years ago
|
||
I have the same issue on Windows & MacOS. First call works fine, second call gives me "Error: update is null Source: file:///C:/Programme/internet/firefox/components/NetworkGeolocationProvider.js Line: 218"
Updated•15 years ago
|
Component: General → Geolocation
Product: Firefox → Core
QA Contact: general → geolocation
Updated•15 years ago
|
Flags: blocking1.9.1?
Comment 2•15 years ago
|
||
this has been fixed post b4.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Flags: blocking1.9.1?
You need to log in
before you can comment on or make changes to this bug.
Description
•