-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api.PermissionStatus - Safari always return "prompt" as value for permissionStatus.state #25032
Comments
This issue was automatically closed because the title was left as the default, and a summary was not added. If this is not a spam issue, please replace the |
Missed the summary in title. |
I don't know why this was just closed by the mdn-bot... (CC @caugner) |
@queengooborg This looks like a race condition. I have a GitHub project set up with automation that sets the project item status to Done if an issue is closed, and closes the issue if the project item status is set to Done. To avoid this going forward, I have disabled the second automation. |
What type of issue is this?
Browser bug (a bug with a feature that may impact site compatibility)
What information was incorrect, unhelpful, or incomplete?
For geolocation,
PermissionStatus.state
is alwaysprompt
even if permission previously has been granted or denied.What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
The corrected state for permission, i.e.
prompt
,granted
(when user previously have granted permission) ordenied
(when user previously have denied permission).Did you test this? If so, how?
Choose to grant or deny permission when prompted.
getCurrentPosition
will immediately either succeed (if permission previously was granted) or fail (if permission previously was denied).Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus
MDN metadata
MDN page report details
api.PermissionStatus
The text was updated successfully, but these errors were encountered: