WICG / ua-client-hints

Wouldn't it be nice if `User-Agent` was a (set of) client hints?
https://wicg.github.io/ua-client-hints/
Other
590 stars 77 forks source link

Remove restrictions on mobileness #306

Closed jwrosewell closed 2 years ago

jwrosewell commented 2 years ago

Document draft contains the following paragraph.

User Agents MUST return the empty string for model if mobileness is false. User Agents MUST return the empty string for model even if mobileness is true, except on platforms where the model is typically exposed.

This paragraph should be removed and the decision left to the implementor to decide.

For example; Google's security features show the Windows device model to help user's differentiate between different Windows devices even when they are not mobile. Implementors should be able to offer this feature without contravening the specification.

miketaylr commented 2 years ago

@jwrosewell can you please upload a screenshot or same link for the security feature you're describing? I'm not familiar with it, but am curious what you mean by device model - that isn't exposed in Windows desktop UA strings AFAIK.

jwrosewell commented 2 years ago

image

Shows the name of the Windows computer used which I've blanked out with the red box.

image

Shows the model of the Windows device used.

miketaylr commented 2 years ago

This sounds like a duplicate of https://github.com/WICG/ua-client-hints/issues/67 - thanks for filing the issue.