I thought the Mozilla/5.0 and like Gecko part are required by the web? Maybe we could get away with not exposing the platform.
On Sun, Sep 1, 2013 at 10:24 AM, L. David Baron <dba...@dbaron.org> wrote: > On Saturday 2013-08-31 18:38 -0400, Benjamin Smedberg wrote: > > On 8/31/2013 3:51 PM, Tom Schuster wrote: > > >I started implementing window.navigator and wondered which UserAgent we > > >want to use. We should try to find the most minimal web compatible > agent. > > >That probably means something like this: > > > > > >Mozilla/5.0 (X11; Linux x86_64) Servo/xxx like Gecko > > For starters why don't we just duplicate the Firefox UA string? > > It'll get you the most compatible content, in general. > > So I think there's a tradeoff here. > > Adding a "Servo" token is probably harmful, in that pieces of data > added to UA strings tend to accumulate over time, and they're much > harder to remove than to add. And they also tend to be misused more > often than they're used well. > > On the other hand, not offering a "standard" way to detect Servo > could lead to authors (eventually) using other techniques to detect > Servo, which could lead to a set of Web-incompatible behaviors that > you can't fix because authors are using one for detection of the > others (in various combinations). (This is the problem IE had > around IE7 and IE8.) > > -David > > -- > 𝄞 L. David Baron http://dbaron.org/ 𝄂 > 𝄢 Mozilla https://www.mozilla.org/ 𝄂 > Before I built a wall I'd ask to know > What I was walling in or walling out, > And to whom I was like to give offense. > - Robert Frost, Mending Wall (1914) > _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo