<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:thorton&#64;apple.com" title="Tim Horton &lt;thorton&#64;apple.com&gt;"> <span class="fn">Tim Horton</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UIViewController with WKWebView presented modally causes the presented UIViewController to be dismissed."
   href="https://bugs.webkit.org/show_bug.cgi?id=165225">bug 165225</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #303279 Flags</td>
           <td>review?
           </td>
           <td>review+
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UIViewController with WKWebView presented modally causes the presented UIViewController to be dismissed."
   href="https://bugs.webkit.org/show_bug.cgi?id=165225#c41">Comment # 41</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UIViewController with WKWebView presented modally causes the presented UIViewController to be dismissed."
   href="https://bugs.webkit.org/show_bug.cgi?id=165225">bug 165225</a>
              from <span class="vcard"><a class="email" href="mailto:thorton&#64;apple.com" title="Tim Horton &lt;thorton&#64;apple.com&gt;"> <span class="fn">Tim Horton</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=303279&amp;action=diff" name="attach_303279" title="Patch">attachment 303279</a> <a href="attachment.cgi?id=303279&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=303279&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=303279&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/ChangeLog:13
&gt; +        (-[WKFileUploadPanel _cancel]):
&gt; +        (-[WKFileUploadPanel dismiss]):
&gt; +        (-[WKFileUploadPanel _showDocumentPickerMenu]):
&gt; +        (-[WKFileUploadPanel _presentMenuOptionForCurrentInterfaceIdiom:]):
&gt; +        (-[WKFileUploadPanel _presentForCurrentInterfaceIdiom:]): Deleted.</span >

Ideally this would explain why you're doing what you're doing.

<span class="quote">&gt; Source/WebKit2/UIProcess/ios/forms/WKFileUploadPanel.mm:391
&gt; +    // Dismiss any viewController that is being presented. This works for all types of viewcontrollers , popovers, etc.</span >

&quot;view controllers, popovers, etc.&quot; (spaces!) Also, each mention of viewController in this comment should probably be &quot;view controller&quot;

<span class="quote">&gt;&gt; Source/WebKit2/UIProcess/ios/forms/WKFileUploadPanel.mm:396
&gt;&gt; +    // Clean up any pointers
&gt; 
&gt; Nit - I don't think this comment adds much.</span >

Yep, this is a &quot;what&quot; comment, not a &quot;why&quot; comment, so it should go away.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>