<?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>250879</bug_id>
          
          <creation_ts>2023-01-19 17:28:43 -0800</creation_ts>
          <short_desc>Delete unused Windows UA string logic</short_desc>
          <delta_ts>2024-09-24 14:51:40 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=280295</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>fujii</cc>
    
    <cc>stephan.szabo</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1926777</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-01-19 17:28:43 -0800</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s commit, I came cross another clean-up commit, which can be merged into WebKit.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/6d5bdc2b3dc4b675747a86b190fa555c5a018014

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/platform/win/SystemInfo.cpp#80 etc.

Just wanted to raise, so we can track and clean-up some old code and enjoy cleaner WebKit.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926793</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2023-01-19 18:39:30 -0800</bug_when>
    <thetext>We do use this function, so probably no easy cleanup:

Source/WebKitLegacy/win/WebView.cpp:    static const NeverDestroyed&lt;String&gt; prefix = makeString(&quot;Mozilla/5.0 (&quot;, windowsVersionForUAString(), &quot;) AppleWebKit/&quot;, webKitVersionString(), &quot; (KHTML, like Gecko)&quot;);

Source/WebCore/platform/win/UserAgentWin.cpp:    return makeString(&quot;Mozilla/5.0 (&quot;, windowsVersionForUAString(), &quot;) AppleWebKit/605.1.15 (KHTML, like Gecko)&quot;,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928761</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-01-26 17:29:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/104721654&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2062846</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-09-24 14:36:24 -0700</bug_when>
    <thetext>Yes, it&apos;s used. Closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>