Skip to content

Commit

Permalink
Clarify that navigator.userAgentData is not mature (#12017)
Browse files Browse the repository at this point in the history
Fixes #11934
  • Loading branch information
sideshowbarker committed Jan 18, 2022
1 parent e7195eb commit 1434fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 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,12 @@ 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", "navigator.userAgentData.platform")}}. However, {{domxref("NavigatorUAData.platform", "navigator.userAgentData.platform")}} 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 1434fa7

Please sign in to comment.