Skip to content

Consider collaborating with UACH on standardized "enum" values #174

@domenic

Description

@domenic

https://wicg.github.io/ua-client-hints/ has gone further than https://compat.spec.whatwg.org/#ua-string-section by trying to lock down some "enum" values. Namely:

It might be worth having a common foundation, probably living in the Compat Standard, which these two share. I'm envisioning something like:

Recommended platforms

Platform name UA String <platform> UA string <oscpu>
Windows Windows NT 10.0 Win64; x64
...

and then the UACH spec says to use the platform name, and the UA string part of the Compat spec says to pick a platform row and use the corresponding <platform> and <oscpu> columns.

The main thing here is not to waste work on stuff that we think will not exist in the UA string in the future. But I think platform is likely to stay, as is the mobileness bit.

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