Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Michael Catanzaro
On Thu, Apr 26, 2018 at 12:48 PM, Colin Bendell | +1.613.914.3387 wrote: Can you give me an example where UA parsing is punishing users of alternative user agents? Is this a theoretical problem, or a widespread problem? I'm not asking to be divisive, but because I know for a

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Ali Juma
It's worth noting that https://bugs.webkit.org/show_bug.cgi?id=182629 added back the OS version to the UA string, at least on trunk (the reasons given there, in https://bugs.webkit.org/show_bug.cgi?id=182629#c6, sound exactly like those mentioned by Colin in this thread). On Thu, Apr 26, 2018 at

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Colin Bendell | +1.613.914.3387
On 26 April 2018 at 13:18, Konstantin Tokarev wrote: > 26.04.2018, 20:09, "Colin Bendell | +1.613.914.3387" : >> On 26 April 2018 at 12:23, Konstantin Tokarev wrote: >>> Not to mention those evil people who reject page loading for user

Re: [webkit-dev] Style guidelines for braced initialization

2018-04-26 Thread Filip Pizlo
> On Apr 26, 2018, at 10:35 AM, ross.kirsl...@sony.com wrote: > > Hi everybody, > > A simple question regarding https://webkit.org/code-style-guidelines/ > : > > I've currently got a clang-format patch up (https://reviews.llvm.org/D46024) >

[webkit-dev] Style guidelines for braced initialization

2018-04-26 Thread Ross.Kirsling
Hi everybody, A simple question regarding https://webkit.org/code-style-guidelines/: I've currently got a clang-format patch up (https://reviews.llvm.org/D46024) to support our space-before-brace style for object initialization (i.e. `Foo foo { bar };` and not `Foo foo{ bar };`). Although

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Konstantin Tokarev
26.04.2018, 20:09, "Colin Bendell | +1.613.914.3387" : > On 26 April 2018 at 12:23, Konstantin Tokarev wrote: >>  Not to mention those evil people who reject page loading for user agents >>  they don't (want to) support > > How does locking the UA solve the

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Colin Bendell | +1.613.914.3387
On 26 April 2018 at 12:23, Konstantin Tokarev wrote: > 26.04.2018, 19:16, "Michael Catanzaro" : >> On Thu, Apr 26, 2018 at 11:13 AM, Michael Catanzaro >> wrote: >>> By fixing the WebKit bug, of course. And in the meantime you can

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Konstantin Tokarev
26.04.2018, 19:16, "Michael Catanzaro" : > On Thu, Apr 26, 2018 at 11:13 AM, Michael Catanzaro > wrote: >>  By fixing the WebKit bug, of course. And in the meantime you can work >>  around it on the server side by not using img src=mp4, right? > >

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Michael Catanzaro
On Thu, Apr 26, 2018 at 11:13 AM, Michael Catanzaro wrote: By fixing the WebKit bug, of course. And in the meantime you can work around it on the server side by not using img src=mp4, right? Consider the other perspective on this problem. If other servers look at the

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Michael Catanzaro
On Thu, Apr 26, 2018 at 10:57 AM, Colin Bendell | +1.613.914.3387 wrote: How do we navigate this? By fixing the WebKit bug, of course. And in the meantime you can work around it on the server side by not using , right? Michael

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Colin Bendell | +1.613.914.3387
I'm running into this issue right now with the locked UA. Here are the challenges: 1. ios 11.3 safari bug broke despite advertising `accept: video/*` in the request. (see bug 185029). I now need to use UA detection to patch versions of a response based on existing bugs. In short, we as an

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Ricky Young
Actually it does, a lot! I guess that soon it won't be possible to determine iOS version distribution using User-Agent sniffing. Right? Is there an alternative for the browser to tell the iOS version?    Sent: Thursday, April 26, 2018 at 1:54 PM From: "Anne van Kesteren" To: 

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Anne van Kesteren
On Thu, Apr 26, 2018 at 12:30 PM, Ricky Young wrote: > I read the report and still find it hard to understand, if "User Agent > sniffing is a terrible way to determine whether a browser supports certain > features", what is the correct way of doing it?

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Ricky Young
Hi Konstantin, Thanks for your prompt response :-) I didn't notice this bug and the respective patches. I read the report and still find it hard to understand, if "User Agent sniffing is a terrible way to determine whether a browser supports certain features", what is the correct way of doing

Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Konstantin Tokarev
26.04.2018, 13:08, "Ricky Young" : > Until iOS 11.3, User-Agent build data contained the build that corresponds to > the device (e.g. Mobile/15D100 if the requesting device was running iOS > 11.2.6). > > Since iOS 11.3 was released I noticed that the User-Agent that is reported

[webkit-dev] New iOS versions sending bogus User-Agent build data

2018-04-26 Thread Ricky Young
Until iOS 11.3, User-Agent build data contained the build that corresponds to the device (e.g. Mobile/15D100 if the requesting device was running iOS 11.2.6).   Since iOS 11.3 was released I noticed that the User-Agent that is reported to the brower is reporting a bogus build, i.e Mobile/15E148,