<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 - Support for HTML Media Capture API"
   href="https://bugs.webkit.org/show_bug.cgi?id=43239">bug 43239</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 #295147 Flags</td>
           <td>review?
           </td>
           <td>review+
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support for HTML Media Capture API"
   href="https://bugs.webkit.org/show_bug.cgi?id=43239#c32">Comment # 32</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support for HTML Media Capture API"
   href="https://bugs.webkit.org/show_bug.cgi?id=43239">bug 43239</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=295147&amp;action=diff" name="attach_295147" title="Rebased patch.">attachment 295147</a> <a href="attachment.cgi?id=295147&amp;action=edit" title="Rebased patch.">[details]</a></span>
Rebased patch.

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

So much progress!

<span class="quote">&gt; Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h:62
&gt; +- (void)_webView:(WKWebView *)webView checkUserMediaPermissionForURL:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL frameIdentifier:(NSUInteger)frameIdentifier decisionHandler:(void (^)(NSString *salt, BOOL authorized))decisionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA));</span >

What's up with the salt parameter?

<span class="quote">&gt; Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:351
&gt; +#if PLATFORM(IOS)</span >

Likely we should have a function that does this work and implement it separately in e.g. new UIDelegateIOS and UIDelegateMac files, doing the different things, to satisfy Sam's comment above. There are also other things around that should be (separately) moved into something like that.</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>