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

2018-04-27 Thread Ricky Young
I can totally understand your intentions, it feels like that in 2018 UA should
not be a relevant piece of information, and especially not be a factor in the
decision if a server should serve a website to a certain request.

But UA is how the Internet currently works. Correct me if I'm wrong, but it 
feels
like you are trying to change the Internet. Are you trying to get rid of it for 
good?

I understand that these kind of drastic, revolutionary, changes might take 
casualties,
I feel like the industry was not given a chance to adopt to this change.
 

Sent: Thursday, April 26, 2018 at 6:22 PM
From: "Michael Catanzaro" <mcatanz...@igalia.com>
To: "Ricky Young" <ri...@gmx.com>
Cc: "Anne van Kesteren" <ann...@annevk.nl>, "webkit-dev@lists.webkit.org" 
<webkit-dev@lists.webkit.org>
Subject: Re: [webkit-dev] New iOS versions sending bogus User-Agent build data
On Thu, Apr 26, 2018 at 7:15 AM, Ricky Young <ri...@gmx.com> wrote:
> 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?

Hi,

The very point of no longer sending the verison in the user agent is to
make it difficult for websites to determine the operating system
version.

We already have to deal with enough serious web compatibility problems
caused by the rest of the information in the user agent. I'm pleased
that the version number is now stable -- that's a huge improvement --
but I won't be happy until Safari and other major browsers start
sending fully-randomized UAs, or else a stub or blank UA
("Mozilla/5.0").

Michael
 
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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" <ann...@annevk.nl>
To: "Ricky Young" <ri...@gmx.com>
Cc: "Konstantin Tokarev" <annu...@yandex.ru>, "webkit-dev@lists.webkit.org" 
<webkit-dev@lists.webkit.org>
Subject: Re: [webkit-dev] New iOS versions sending bogus User-Agent build data
On Thu, Apr 26, 2018 at 12:30 PM, Ricky Young <ri...@gmx.com> 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?

https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Feature_detection

Hope that helps,


--
https://annevankesteren.nl/[https://annevankesteren.nl/]
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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 it?
 

Sent: Thursday, April 26, 2018 at 1:16 PM
From: "Konstantin Tokarev" <annu...@yandex.ru>
To: "Ricky Young" <ri...@gmx.com>, "webkit-dev@lists.webkit.org" 
<webkit-dev@lists.webkit.org>
Subject: Re: [webkit-dev] New iOS versions sending bogus User-Agent build data

26.04.2018, 13:08, "Ricky Young" <ri...@gmx.com>:
> 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, regardless to the 
> iOS version that the requesting device is running. I would expect that a 
> device that runs 11.3 will reprot a different User-Agent than a device that 
> runs 11.3.1 and certianly than a device that runs 11.4 (Beta 1 & 2).
>
> I just wonder if my observation is an expected behavior, and if so, what is 
> the intention behind it. If this behavior is not intended and expected, I 
> would love to research it and propose a patch (would be my first Open Source 
> contribution).

Hi,

User-Agent string is frozen since https://bugs.webkit.org/show_bug.cgi?id=180365

-- 
Regards,
Konstantin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[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, regardless to the iOS version that the requesting device is running. I would expect that a device that runs 11.3 will reprot a different User-Agent than a device that runs 11.3.1 and certianly than a device that runs 11.4 (Beta 1 & 2).
 
I just wonder if my observation is an expected behavior, and if so, what is the intention behind it. If this behavior is not intended and expected, I would love to research it and propose a patch (would be my first Open Source contribution).

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev