<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>213622</bug_id>
          
          <creation_ts>2020-06-25 15:18:15 -0700</creation_ts>
          <short_desc>Safari 14 - User Agent string shows incorrect OS version</short_desc>
          <delta_ts>2022-06-18 09:25:47 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jash Sayani">jashsayani</reporter>
          <assigned_to name="Conrad Shultz">conrad_shultz</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>conrad_shultz</cc>
    
    <cc>karl+webkit</cc>
    
    <cc>maxthevin</cc>
    
    <cc>mjs</cc>
    
    <cc>olsviate</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1666248</commentid>
    <comment_count>0</comment_count>
    <who name="Jash Sayani">jashsayani</who>
    <bug_when>2020-06-25 15:18:15 -0700</bug_when>
    <thetext>Safari 14 Dev Preview shows the userAgent string as &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16)&quot;. It should say MacOS 11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1713751</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-12-10 15:41:36 -0800</bug_when>
    <thetext>*** Bug 219728 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718662</commentid>
    <comment_count>2</comment_count>
    <who name="Max G">maxthevin</who>
    <bug_when>2021-01-11 05:07:49 -0800</bug_when>
    <thetext>Not even that!

Safari shows this user agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15

Also on Silicon Macs it still shows &quot;Intel&quot;

Please fix this urgent bug because a lot of websites are broken because of that!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718663</commentid>
    <comment_count>3</comment_count>
    <who name="Max G">maxthevin</who>
    <bug_when>2021-01-11 05:09:05 -0800</bug_when>
    <thetext>I Hope this bug will be fixed this year</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718704</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-01-11 09:11:51 -0800</bug_when>
    <thetext>&gt; Also on Silicon Macs it still shows &quot;Intel&quot;

This aspect is intentional.

&gt; Please fix this urgent bug because a lot of websites are broken because of that!

What are the websites that are broken because of 10_15_6? We are aware of websites that would be broken but exposing version 11, but not vice versa.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718707</commentid>
    <comment_count>5</comment_count>
    <who name="Max G">maxthevin</who>
    <bug_when>2021-01-11 09:29:25 -0800</bug_when>
    <thetext>That is really sad because this intentional step break the sense of the user agent more than just using the user agent regularly.

A lot of websites checking the user agent if the browser supports vp9.(or other system relative features)

On IOS it works perfect (on iOS 13 you get the message with the to old system)
But on Safari on macOS the app still detects an incompatible System version.

Hh but wait I use the desktop user agent as a default on my iOS device does that mean that this confuses a lot of websites?
Yep a lot of websites still tell me incompatibility because of that.

Google Chrome as example use the user agent as intending and there are no problems at all.

If The User agent is 10_16 I can totally understand that but 10_15_6 is completely unreasonable and make the development much harder.

This is the perfect proof that the user agent is the biggest bulls*** and I hope that chrome gets through with there new User Hint System! (and Safari too)

So if you don&apos;t use the user agent as intended please at least change it to 10_16 so that developers doesn&apos;t feel fooled and need to rewrite a lot of things (which a lot of developers just doesn&apos;t do)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718716</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-01-11 10:02:45 -0800</bug_when>
    <thetext>I recommend reaching out to webkit-help to discuss how to detect VP9 support. There may be a better way than checking OS version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1729031</commentid>
    <comment_count>7</comment_count>
    <who name="karl">karl+webkit</who>
    <bug_when>2021-02-14 17:34:08 -0800</bug_when>
    <thetext>Max G, some websites are breaking because of macOS 11 string. So it&apos;s a two edges sword. 

Would you be kind to share which websites are breaking that would be super helpful to assess the Web compatibility issue surface?

Note that you can check some of the followup issues

WebKit (Safari)
https://bugs.webkit.org/show_bug.cgi?id=216593 
https://bugs.webkit.org/show_bug.cgi?id=217364

Gecko (Firefox)
https://bugzilla.mozilla.org/show_bug.cgi?id=1679929
https://bugzilla.mozilla.org/show_bug.cgi?id=1680516
https://bugzilla.mozilla.org/show_bug.cgi?id=1682238

Blink (Chrome, Edge)
https://bugs.chromium.org/p/chromium/issues/detail?id=1175225
https://groups.google.com/a/chromium.org/g/blink-dev/c/hAI4QoX6rEo/m/qQNPThr0AAAJ</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876635</commentid>
    <comment_count>8</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-06-18 09:25:47 -0700</bug_when>
    <thetext>As Alexey said, reporting &quot;Intel&quot; as a constant is deliberate, and the 10_15_7 cap was done to mitigate web content breakage (see Bug 216593), and has been followed by Firefox and Chrome at this point.

It seems unlikely we will increase the passive fingerprinting ability to go back to reporting the real version number at any point in the future.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>