-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Comments
What is wrong with the dictionary definition? |
It's not in the dictionary: http://www.merriam-webster.com/dictionary/suggestions/user%20agent. |
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. |
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. |
We should put this in Infra. That seems like the best place now we have it. |
I still disagree, but not strongly. I think given that HTML defines so much about user agents, it belongs best in HTML. |
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. |
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". |
CSS's definition is basically just "an implementation of the standard". |
FYI @jyasskin has a pull request out in whatwg/infra#269; thoughts welcome. |
We use the term all over the place, but HTML never defines it. https://w3c.github.io/uievents/#user-agent has a decent definition.
The text was updated successfully, but these errors were encountered: