Geolocation OS-level permission changes are not captured by browser
Categories
(Core :: Permission Manager, defect, P3)
Tracking
()
People
(Reporter: marcos, Unassigned)
References
()
Details
(Keywords: parity-chrome)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
Steps to reproduce:
On MacOS, for instance:
- Go to, for instance: https://www.w3schools.com/html/html5_geolocation.asp
- Click on "Try it"
- Allow geolocation
- Add the following code to the developer console:
x = navigator.permissions.query({name: "geolocation"});
w = await x;
w.onchange = e => {console.log("changged", e)}
- Go to MacOS's System Preferences for Location Services
- Disallow Firefox from using location services by unpicking the box
Actual results:
Nothing.
Expected results:
Changing the system level permission for Firefox should cause the event on "w" (PermissionStatus) to fire.
@johann, this might be a "os permissions-wide" issue. In MacOS at least, it might also impact things like revoking Camera, Microphone, etc. at the OS level. Any suggestion about how we might address this? (not a huge issue, but it does mean that the browser's permission store and the OS's permission store can get out of sync).
Comment 2•3 years ago
|
||
Yes, this is likely an issue for the entire browser, we've discussed the "new" MacOS permission model extensively in bug 1494172 and I guess whoever ends up working on that should look at fixing up the permissions API as well.
Comment 3•3 years ago
|
||
The severity field is not set for this bug.
:timhuang, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Description
•