Skip to content
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

undefined is not an object (evaluating 'navigator.locks.request') #1462

Closed
mteterel opened this issue Sep 27, 2024 · 1 comment · Fixed by #1466
Closed

undefined is not an object (evaluating 'navigator.locks.request') #1462

mteterel opened this issue Sep 27, 2024 · 1 comment · Fixed by #1466

Comments

@mteterel
Copy link

mteterel commented Sep 27, 2024

Issue and Steps to Reproduce

I'm seeing several reports on our Sentry that Safari users (exclusively, mobile and desktop) have the lib throw an unhandled error. The message is as follow :
undefined is not an object (evaluating 'navigator.locks.request')

It is located in the renewTokensAndStartTimerAsync method. The logic looks able to handle a missing lock, and should be adaptable to handle hte case where the navigator.locks API is not available.

Versions

7.22.16 at the moment

@guillaume-chervet
Copy link
Contributor

Thank you very much @mteterel for this feedback.
I will try too fix it quickly !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants