Closed Bug 1905712 Opened 7 months ago Closed 7 months ago

Temporarily disable geoclue support

Categories

(Core :: DOM: Geolocation, task)

task

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox129 --- wontfix

People

(Reporter: saschanaz, Assigned: saschanaz)

References

Details

Attachments

(1 obsolete file)

Geoclue is broken by MLS sunset and we are not properly falling back to GLS. We should disable it until we get a proper fallback.

Assignee: nobody → krosylight

geoclue can't get location data as it still depends on MLS which is sunsetted in June 12, and navigator.geolocation doesn't respond at all in this case, not even an error code. And we don't fall back to GLS even if Google API key exists.

For now this patch intends to disable geoclue support either until we figure out a fallback strategy or geoclue finds a replacement. Note that this will only help Linux distributions with broken geoclue but not distributions shipping custom Firefox builds without a valid Google API key.

Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e396dfbd2f76 Temporarily disable geoclue support r=dom-core,jjaschke

Kagami, since some Linux distros use Firefox ESR, should we uplift this fix to current version ESR 115? Or just let those distros get the fix in Fx 128, the next ESR version? ESR 115.15 will be supported until ESR 128.3 is released on 2024-10-01.

Flags: needinfo?(krosylight)

Comment on attachment 9410612 [details]
Bug 1905712 - Temporarily disable geoclue support r=#dom-core

Beta/Release Uplift Approval Request

  • User impact if declined: Linux users with geoclue enabled will not be able to use Geolocation API and websites that depend on it (maps services)
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce:
  1. Open map service e.g. mylocation.org
  2. Ask current location (e.g. Browser Geolocation)
  3. See if it succeeds
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Only a flipped pref.
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(krosylight)
Attachment #9410612 - Flags: approval-mozilla-beta?
Flags: qe-verify+

I have Geoclue and geolocation works using it, so it'd be nice not to regress location accuracy unnecessarily?

Flags: needinfo?(krosylight)

Comment on attachment 9410612 [details]
Bug 1905712 - Temporarily disable geoclue support r=#dom-core

Per discussion in the incident channel, this isn't the route we want to go.

Attachment #9410612 - Flags: approval-mozilla-beta?

Backout reason: geoclue also is used to use GPS device, and simple pref-off will break that.

Flags: needinfo?(krosylight)
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

What about the backout?! 👀

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

We are not planning this anymore and will directly go for bug 1905717.

Status: REOPENED → RESOLVED
Closed: 7 months ago7 months ago
Resolution: --- → WONTFIX
Attachment #9410612 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: