Closed Bug 2076922 Opened 1 month ago Closed 1 month ago

Geolocation no longer updates

Categories

(Toolkit :: Geolocation Provider, defect)

Firefox 156
defect

Tracking

()

RESOLVED DUPLICATE of bug 2060572

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

  1. I have geo.provider.network.url set to 'http://localhost:8000/geolocation.json', which is a reverse proxy that fetches updates from my server, sent from my phone.
  2. I suspended my laptop.
  3. I traveled to a new location.
  4. I resumed my laptop.
  5. http://localhost:8000/geolocation.json correctly 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.

Restarting the browser is a work-around.

this might have been fixed in bug 2060572. Could you try in 158.0b5 beta and see if the issue still occurs?

Component: Untriaged → Geolocation Provider
Flags: needinfo?(mozilla)
Product: Firefox → Toolkit
See Also: → 2048118
Severity: -- → S3

Confirmed fixed in 158.0b5. Than you!

Flags: needinfo?(mozilla)

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.

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2060572
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.