Geolocation no longer updates
Categories
(Toolkit :: Geolocation Provider, defect)
Tracking
()
People
(Reporter: bryankaplan, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:156.0) Gecko/20100101 Firefox/156.0
Steps to reproduce
- I have
geo.provider.network.urlset to'http://localhost:8000/geolocation.json', which is a reverse proxy that fetches updates from my server, sent from my phone. - I suspended my laptop.
- I traveled to a new location.
- I resumed my laptop.
http://localhost:8000/geolocation.jsoncorrectly reports my location.
Actual results
Previously, Firefox would correctly fetch and provide my current location via JavaScript (provided I granted permission).
Now, under Firefox 156.0, it is providing stale cached data without fetching an update.
Even if I directly load http://localhost:8000/geolocation.json into a tab, it appears up-to-date, yet geolocation still shows my previous cached location.
Expected results
If geo.provider.network.url is defined, it should be requested every time there is a geolocation request.
| Reporter | ||
Comment 1•1 month ago
|
||
Restarting the browser is a work-around.
Comment 2•1 month ago
|
||
this might have been fixed in bug 2060572. Could you try in 158.0b5 beta and see if the issue still occurs?
Updated•1 month ago
|
| Reporter | ||
Comment 4•1 month ago
|
||
Either I lack permission to close my own bug report or I fail to understand how that’s done. In either case, this bug can be closed.
Updated•1 month ago
|
Description
•