Closed
Bug 2022043
Opened 8 months ago
Closed 7 months ago
Permissions API for geolocation should reflect Windows OS location permission
Categories
(Toolkit :: Geolocation Provider, enhancement)
Tracking
()
RESOLVED
FIXED
151 Branch
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: haik, Assigned: jjaschke)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
On Windows, when Firefox access to the OS location is denied, the permissions API should reflect that instead of having our location system fall back to using GLS. This is the Windows version of bug 1529591.
| Reporter | ||
Updated•8 months ago
|
| Assignee | ||
Comment 2•8 months ago
|
||
When the OS-level geolocation permission changes on Windows, PermissionStatus
objects for geolocation now fire their "change" event. This is done by
monitoring the wifiControl AppCapability's AccessChanged event in the parent
process and broadcasting the new state to all content processes via IPC.
The monitor starts lazily on the first geolocation permission query and
shuts down on xpcom-shutdown. The permission state mapping matches
Geolocation::GetLocationOSPermission().
Updated•8 months ago
|
Assignee: nobody → jjaschke
Status: NEW → ASSIGNED
Pushed by jjaschke@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/6dc725ce279e
https://hg.mozilla.org/integration/autoland/rev/67ee617f2e0c
Fire PermissionStatus.onchange when Windows OS geolocation permission changes. r=saschanaz,win-reviewers,handyman,emilio
Comment 4•7 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
status-firefox151:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
Updated•6 months ago
|
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in
before you can comment on or make changes to this bug.
Description
•