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

navigator.userAgent deprecation #1017

Closed
fippo opened this issue Jan 14, 2020 · 2 comments
Closed

navigator.userAgent deprecation #1017

fippo opened this issue Jan 14, 2020 · 2 comments

Comments

@fippo
Copy link
Member

fippo commented Jan 14, 2020

see https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/-2JIRNMWJ7s/yHe4tQNLCgAJ

@fippo
Copy link
Member Author

fippo commented Jan 14, 2020

git grep browserDetails src/ isn't heavily used internally.

getUserAgent() returns a promise and is not sync which is a problem. We'd only use the major version anyway.

I'm not sure if there is much action here, adapter can continue to return the values from the UA but it needs to be documented that this isn't to be trusted. If browsers add a reliable way to detect the major version that would actually be great

@fippo
Copy link
Member Author

fippo commented Mar 27, 2024

Done in 9.0.0

@fippo fippo closed this as completed Mar 27, 2024
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

No branches or pull requests

1 participant