Skip to content

WPILib install page fails to detect OS in Firefox or Safari #3032

Open
@auscompgeek

Description

@auscompgeek

On https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/wpilib-setup.html I get the following error in the console.

Uncaught (in promise) TypeError: navigator.userAgentData is undefined
    <anonymous> https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/wpilib-setup.html:926

screenshot

The offending source code line:

let ua = await navigator.userAgentData.getHighEntropyValues(['architecture', 'bitness', 'mobile', 'platform', 'platformVersion']);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions