Open Bug 2048776 Opened 4 months ago Updated 1 month ago

Use geo.provider.ms-windows-location in determining geolocation permissions

Categories

(Toolkit :: Geolocation Provider, defect)

defect

Tracking

()

People

(Reporter: handyman, Assigned: handyman)

References

Details

Attachments

(1 external file)

Network geolocation is not enabled on Windows. However, geo.provider.ms-windows-location is still "supported". That pref should disable geolocation on Windows and be reflected in permissions queries.

The pref should not engage the fallback network provider. This changes it to
report permission denial. When the pref is false, no doorhanger is ever shown
and no permission is ever given, regardless of any other state, such as
granted site permissions. The pref was never reachable from settings but was
mentioned on SUMO.

A lot of geolocation testing uses the NetworkGeolocationProvider, so we can't
completely block that off on Windows. Instead, the system will now validate that
geo.provider.testing is accompanied by a valid test URL (http://localhost,
http://mochi.test:8888, or https://web-platform.test:8888 are permitted).

Severity: -- → S3
See Also: → 2073443
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: