<?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>194885</bug_id>
          
          <creation_ts>2019-02-20 17:07:22 -0800</creation_ts>
          <short_desc>Web Inspector: macOS user agent option should be available in device settings menu</short_desc>
          <delta_ts>2019-02-21 10:00:56 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Devin Rousso">hi</reporter>
          <assigned_to name="Devin Rousso">hi</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>hi</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>joepeck</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1508378</commentid>
    <comment_count>0</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2019-02-20 17:07:22 -0800</bug_when>
    <thetext>Since this menu only appears on remote targets, they might want to set the user agent to a desktop one to test something.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508385</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-02-20 17:25:33 -0800</bug_when>
    <thetext>&lt;rdar://problem/48259253&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508432</commentid>
    <comment_count>2</comment_count>
      <attachid>362586</attachid>
    <who name="Devin Rousso">hi</who>
    <bug_when>2019-02-20 20:59:32 -0800</bug_when>
    <thetext>Created attachment 362586
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508441</commentid>
    <comment_count>3</comment_count>
      <attachid>362586</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2019-02-20 21:28:24 -0800</bug_when>
    <thetext>Comment on attachment 362586
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=362586&amp;action=review

r=me

&gt; Source/WebInspectorUI/UserInterface/Base/Main.js:2074
&gt; +            { name: &quot;Safari 12.2&quot;, value: &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.2 Safari/605.1.15&quot; },

I&apos;m not sure 10_14_4 is the current shipping but that part isn&apos;t the most important bit, the rest are.

&gt; Source/WebInspectorUI/UserInterface/Base/Main.js:2076
&gt; +        ],
&gt;          [

Why separate this from the other Safaris? I think it makes sense to put all the Safari&apos;s together, Mac, iPhone, iPad.
We could even consider a watchOS UserAgent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508545</commentid>
    <comment_count>4</comment_count>
      <attachid>362586</attachid>
    <who name="Devin Rousso">hi</who>
    <bug_when>2019-02-21 09:35:29 -0800</bug_when>
    <thetext>Comment on attachment 362586
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=362586&amp;action=review

&gt;&gt; Source/WebInspectorUI/UserInterface/Base/Main.js:2074
&gt;&gt; +            { name: &quot;Safari 12.2&quot;, value: &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.2 Safari/605.1.15&quot; },
&gt; 
&gt; I&apos;m not sure 10_14_4 is the current shipping but that part isn&apos;t the most important bit, the rest are.

I got this from the most recent developer beta.  One annoying thing about this is that we&apos;re going to have to update this (and the others) when the system updates.  Perhaps we can add something to `InpsectorFrontendHost`.

&gt;&gt; Source/WebInspectorUI/UserInterface/Base/Main.js:2076
&gt;&gt;          [
&gt; 
&gt; Why separate this from the other Safaris? I think it makes sense to put all the Safari&apos;s together, Mac, iPhone, iPad.
&gt; We could even consider a watchOS UserAgent.

This matches the current develop menu&apos;s structure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508553</commentid>
    <comment_count>5</comment_count>
      <attachid>362586</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-02-21 10:00:55 -0800</bug_when>
    <thetext>Comment on attachment 362586
Patch

Clearing flags on attachment: 362586

Committed r241870: &lt;https://trac.webkit.org/changeset/241870&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508554</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-02-21 10:00:56 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>362586</attachid>
            <date>2019-02-20 20:59:32 -0800</date>
            <delta_ts>2019-02-21 10:00:55 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-194885-20190220205931.patch</filename>
            <type>text/plain</type>
            <size>1910</size>
            <attacher name="Devin Rousso">hi</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cgYi9Tb3VyY2UvV2Vi
SW5zcGVjdG9yVUkvQ2hhbmdlTG9nCmluZGV4IDY5NjIzMDNiMDE3MmQ2ZDFjMmFlM2YxNzMxOTQ3
MjE3OGIzODZlMTcuLjhiMzg0ZWEzMzJlYWQyZmM3YzY4MzhiNjEzNzY3ZmFkMGYzOWU1MTQgMTAw
NjQ0Ci0tLSBhL1NvdXJjZS9XZWJJbnN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8zIGxpa2UgTWFjIE9TIFgp
IEFwcGxlV2ViS2l0LzYwNS4xLjE1IChLSFRNTCwgbGlrZSBHZWNrbykgVmVyc2lvbi8xMi4wIE1v
YmlsZS8xNUUxNDggU2FmYXJpLzYwNC4xIiB9LAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>