Fennec/User Agent: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 86: Line 86:


There is a question of what should follow the slash - Gecko/0 avoids breaking sites which expect an integer. But a counter-argument suggests we should fail fast and break such sites, because if they do get an integer, they'll treat it like a date - and who knows what they'll make of "0". Other options include "#", "!", "X" and "12.0" (i.e. matching the Gecko version in the rv: string).
There is a question of what should follow the slash - Gecko/0 avoids breaking sites which expect an integer. But a counter-argument suggests we should fail fast and break such sites, because if they do get an integer, they'll treat it like a date - and who knows what they'll make of "0". Other options include "#", "!", "X" and "12.0" (i.e. matching the Gecko version in the rv: string).
Dao: Let's please go with Gecko/12.0 or Gecko/12. (The latter might have less potential to break scripts.) There's no good reason to introduce new junk here and keep confusing people trying to make sense of the UA string. We should also freeze the rv: token and see if we can drop it in a few years time.


===Mozilla/5.0===
===Mozilla/5.0===
149

edits

Navigation menu