3 ms·
It's meaningful. It communicates exactly what the browser is to anyone who is capable of receiving the intended communication. (It also communicates other thing
by geofft 11y ago
It's meaningful. It communicates exactly what the browser is to anyone who is capable of receiving the intended communication. (It also communicates other things to people who are not, but "Google Chrome 41.0.2228.0" would be absolutely meaningless to these listeners, so that doesn't seem like an objection with merit.)
You might object to the form of the communication, but that doesn't render the communication inexact. Just think of it as browser slang.
- pdkl95 11y ago> It communicates exactly what the browser is This is true, which is not particularly useful when deciding if a feature is available. Using the user agent to make this decision incorrectly assumes that all user agents of a particular browser+version all support exactly the same set of features. This is obviously not true. The user agent may be meaningful[1], but the meaning that it communicates isn't feature data. [1] If you take the header at it's word; as the bug being discussed demonstrates, user ages may be lying.
- cornstalks 11y ago> [...] the meaning that it communicates isn't feature data. But it kind of is (to some degree, at least). VP9 was recently added to Firefox 28. If the User Agent says the browser is Firefox 27, then you probably shouldn't try serving VP9 to that browser. Obviously the User Agent doesn't communicate the complete feature set. But some useful inferences regarding features can be derived from it.