Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define "user agent" #1021

Closed
jyasskin opened this issue Apr 9, 2016 · 10 comments · Fixed by whatwg/infra#269
Closed

Define "user agent" #1021

jyasskin opened this issue Apr 9, 2016 · 10 comments · Fixed by whatwg/infra#269
Labels
clarification Standard could be clearer

Comments

@jyasskin
Copy link
Member

jyasskin commented Apr 9, 2016

We use the term all over the place, but HTML never defines it. https://w3c.github.io/uievents/#user-agent has a decent definition.

@annevk
Copy link
Member

annevk commented Apr 10, 2016

What is wrong with the dictionary definition?

@jyasskin
Copy link
Member Author

It's not in the dictionary: http://www.merriam-webster.com/dictionary/suggestions/user%20agent.
Also, a bunch of higher-level specs define it, and I'd like to centralize that.

@annevk
Copy link
Member

annevk commented Apr 10, 2016

Hmm, https://en.wikipedia.org/wiki/User_agent has it.

If we really want a list of central terms, we should also put things like ASCII whitespace, convert to ASCII uppercase, etc. in there. Not sure HTML is really the right place for all of that. I have often thought it would be useful to have, something similar to RFC 2119.

@domenic
Copy link
Member

domenic commented Apr 10, 2016

I think HTML is probably the best place we're going to get, at least for now. Especially for user agent, it seems like a good place, since so much of user agent behavior (navigation etc.) is defined in HTML.

We'll probably want to wait on solving this until #1012 lands since there'd be a lot of conflicts in adding the appropriate xrefs.

@annevk
Copy link
Member

annevk commented Jan 17, 2017

We should put this in Infra. That seems like the best place now we have it.

@domenic
Copy link
Member

domenic commented Jan 17, 2017

I still disagree, but not strongly. I think given that HTML defines so much about user agents, it belongs best in HTML.

@annevk
Copy link
Member

annevk commented Jan 17, 2017

I dunno, a user agent that performs navigation is not the user agent that Node.js is when implementing URL. So you need a more general form that works for independent implementations of URL, Encoding, etc.

@domenic
Copy link
Member

domenic commented Jan 17, 2017

Oh, that's a fair point. I guess let's draft a definition and see what things look like. Maybe what HTML would define is instead "interactive user agent" aka "web browser".

@tabatkins
Copy link
Contributor

CSS's definition is basically just "an implementation of the standard".

@domenic
Copy link
Member

domenic commented Sep 13, 2019

FYI @jyasskin has a pull request out in whatwg/infra#269; thoughts welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Standard could be clearer
Development

Successfully merging a pull request may close this issue.

4 participants