After denying the geolocation after calling navigator.geolocation.getCurrentPosition navigator.permissions.query({name: "geolocation"}) still reports "prompt" instead of denied. Expected result would be "denied"
I think this may intentional, but CC'ing people who will know for certain.
<rdar://problem/111905576>
Any news if this is behavior is intentional?
Sorry for the delay. I'm not sure if this is intentional. It should be intentional on initial load of a document, so to not reveal a user preference. However, after an explicit denial from the user, it should probably return "denied".
Hi, sorry to stick my nose in, but this is also the case for the opposite scenario. In the current version of Safari (on iOS 17.4.1) when requesting permission and accepting, the status never updates to granted. Even though you do not need to prompt again for the location. It will update to granted if the user has their global setting as 'allow' instead of 'ask'.