You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What information was incorrect, unhelpful, or incomplete?
It's unhelpful to recommend NavigatorUAData.platform when it is not supported by several major browsers yet. At least without a caveat or suggested polyfill.
Specific section or headline?
Note: The recommended alternative to this property is NavigatorUAData.platform, which is returned from Navigator.userAgentData.
What did you expect to see?
The following would be better. Best would be some sort of polyfill or other recommendation for adopting this new approach.
Note: The recommended alternative to this property is NavigatorUAData.platform, which is returned from Navigator.userAgentData. However, this property is not yet supported by some major browsers, and is still in the draft phase.
The text was updated successfully, but these errors were encountered:
alexmiddeleer
changed the title
Issue with "Navigator.platform": (short summary here please)
Issue with "Navigator.platform": premature recommendation to move to NavigatorUAData.platform
Jan 11, 2022
MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
What information was incorrect, unhelpful, or incomplete?
It's unhelpful to recommend NavigatorUAData.platform when it is not supported by several major browsers yet. At least without a caveat or suggested polyfill.
Specific section or headline?
What did you expect to see?
The following would be better. Best would be some sort of polyfill or other recommendation for adopting this new approach.
Did you test this? If so, how?
These two pages support my statement that the recommended alternative is still a draft and not yet supported by some major browsers.
I looked at https://wicg.github.io/ua-client-hints/#dom-navigatoruadata-platform and https://developer.mozilla.org/en-US/docs/Web/API/NavigatorUAData/platform
MDN Content page report details
en-us/web/api/navigator/platform
The text was updated successfully, but these errors were encountered: