Skip to content

Commit

Permalink
Clarify that navigator.userAgentData is not mature
Browse files Browse the repository at this point in the history
Fixes #11934
  • Loading branch information
sideshowbarker committed Jan 15, 2022
1 parent b69d0db commit c496a9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions files/en-us/web/api/navigator/platform/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ browser-compat: api.Navigator.platform
---
{{ APIRef("HTML DOM") }} {{Deprecated_Header}}

> **Note:** The recommended alternative to this property is {{domxref("NavigatorUAData.platform")}}, which is returned from {{domxref("Navigator.userAgentData")}}.
> **Note:** The recommended alternative to this property is {{domxref("NavigatorUAData.platform")}}, which is returned from {{domxref("Navigator.userAgentData")}} However, the {{domxref("NavigatorUAData.platform")}} property is not yet supported by some major browsers, and the specification which defines it has not yet been adopted by any standards group (specifically, it is not part of any specification published by the W3C or WHATWG).
Returns a string representing the platform of the browser.
The specification allows browsers to always return the empty string, so don't rely on this property to get a reliable answer.


## Value

A {{domxref("DOMString")}} identifying the platform on which the browser is running, or an empty string if the browser declines to (or is unable to) identify the platform.
Expand Down

0 comments on commit c496a9f

Please sign in to comment.