<?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>224402</bug_id>
          
          <creation_ts>2021-04-09 18:06:48 -0700</creation_ts>
          <short_desc>Force the WebAuthn compatible mode to always show UI</short_desc>
          <delta_ts>2021-04-14 14:39:24 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Jiewen Tan">jiewen_tan</reporter>
          <assigned_to name="Jiewen Tan">jiewen_tan</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>darin</cc>
    
    <cc>garrett_davidson</cc>
    
    <cc>jiewen_tan</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1748934</commentid>
    <comment_count>0</comment_count>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2021-04-09 18:06:48 -0700</bug_when>
    <thetext>Force the WebAuthn compatible mode to always show UI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748935</commentid>
    <comment_count>1</comment_count>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2021-04-09 18:07:03 -0700</bug_when>
    <thetext>rdar://75757362</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748937</commentid>
    <comment_count>2</comment_count>
      <attachid>425672</attachid>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2021-04-09 18:09:42 -0700</bug_when>
    <thetext>Created attachment 425672
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749235</commentid>
    <comment_count>3</comment_count>
    <who name="Garrett Davidson">garrett_davidson</who>
    <bug_when>2021-04-12 09:01:05 -0700</bug_when>
    <thetext>Can you update the commit message with how you tested this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749437</commentid>
    <comment_count>4</comment_count>
      <attachid>425672</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2021-04-12 16:24:03 -0700</bug_when>
    <thetext>Comment on attachment 425672
Patch

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

r=me

&gt; Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:102
&gt; +#if USE(APPLE_INTERNAL_SDK)

Does this need a macOS check? or is it correct for iOS, too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749438</commentid>
    <comment_count>5</comment_count>
      <attachid>425672</attachid>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2021-04-12 16:26:20 -0700</bug_when>
    <thetext>Comment on attachment 425672
Patch

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

Thanks Brent for r+ this patch.

&gt;&gt; Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:102
&gt;&gt; +#if USE(APPLE_INTERNAL_SDK)
&gt; 
&gt; Does this need a macOS check? or is it correct for iOS, too?

This method is only used by the compatible mode which is now only on macOS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749451</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-04-12 16:54:07 -0700</bug_when>
    <thetext>Committed r275847 (236412@main): &lt;https://commits.webkit.org/236412@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425672.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749808</commentid>
    <comment_count>7</comment_count>
      <attachid>425672</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-04-13 12:46:05 -0700</bug_when>
    <thetext>Comment on attachment 425672
Patch

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

&gt; Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:103
&gt; +    // A quirk to force the compatible mode to always show UI.

This comment should say *why* we are doing this, not just say that &quot;it’s a quirk&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750275</commentid>
    <comment_count>8</comment_count>
      <attachid>425672</attachid>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2021-04-14 12:24:25 -0700</bug_when>
    <thetext>Comment on attachment 425672
Patch

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

&gt;&gt; Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:103
&gt;&gt; +    // A quirk to force the compatible mode to always show UI.
&gt; 
&gt; This comment should say *why* we are doing this, not just say that &quot;it’s a quirk&quot;.

I was trying to write a why here. But then it&apos;s hard to not reveal the feature and explain it clearly. Let me try rewrite it with a vague why.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750344</commentid>
    <comment_count>9</comment_count>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2021-04-14 14:39:24 -0700</bug_when>
    <thetext>Land a comment fix per Darin&apos;s comment.

Committed r275966: &lt;https://commits.webkit.org/r275966&gt;
Committed r275966 (236519@main): &lt;https://commits.webkit.org/236519@main&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>425672</attachid>
            <date>2021-04-09 18:09:42 -0700</date>
            <delta_ts>2021-04-12 16:54:07 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-224402-20210409180942.patch</filename>
            <type>text/plain</type>
            <size>1685</size>
            <attacher name="Jiewen Tan">jiewen_tan</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc1Njc4CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCmluZGV4IDJiZGNhZGM4ODUyN2Q5NjM0
MDAyYTcwMWMxNDhmZTNlZjBkNzJkOGIuLjMzMTZiMGQ2NTg4MzY5NDNhMGU1ZTJkYzNmYzhiMTUy
ODIyZmIwZWIgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCisrKyBiL1NvdXJj
ZS9XZWJLaXQvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTYgQEAKKzIwMjEtMDQtMDkgIEppZXdlbiBU
YW4gIDxqaWV3ZW5fdGFuQGFwcGxlLmNvbT4KKworICAgICAgICBGb3JjZSB0aGUgV2ViQXV0aG4g
Y29tcGF0aWJsZSBtb2RlIHRvIGFsd2F5cyBzaG93IFVJCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yMjQ0MDIKKyAgICAgICAgPHJkYXI6Ly83NTc1NzM2
Mj4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBDb3Zl
cmVkIGJ5IG1hbnVhbCB0ZXN0cy4KKworICAgICAgICAqIFVJUHJvY2Vzcy9XZWJBdXRoZW50aWNh
dGlvbi9Db2NvYS9Mb2NhbENvbm5lY3Rpb24ubW06CisgICAgICAgIChXZWJLaXQ6OkxvY2FsQ29u
bmVjdGlvbjo6dmVyaWZ5VXNlcik6CisKIDIwMjEtMDQtMDggIERlYW4gSmFja3NvbiAgPGRpbm9A
YXBwbGUuY29tPgogCiAgICAgICAgIFNwZWNpZnkgU3dpZnQgdmVyc2lvbiBpb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