<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<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#c40">Comment # 40</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:agold@apple.com" title="Andrew Gold <agold@apple.com>"> <span class="fn">Andrew Gold</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=43239#c32">comment #32</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=295147&action=diff" name="attach_295147" title="Rebased patch.">attachment 295147</a> <a href="attachment.cgi?id=295147&action=edit" title="Rebased patch.">[details]</a></span>
> Rebased patch.
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=295147&action=review">https://bugs.webkit.org/attachment.cgi?id=295147&action=review</a>
>
> So much progress!
>
> > Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h:62
> > +- (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));
>
> What's up with the salt parameter?</span >
It is the string we use to make sure capture device IDs are unique per domain.
<span class="quote">>
> > Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:351
> > +#if PLATFORM(IOS)
>
> 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.</span >
Filed: <a class="bz_bug_link
bz_status_NEW "
title="NEW - Separate UIDelegate platform specific code into UIDelegateIOS and UIDelegateMac classes."
href="show_bug.cgi?id=165101">https://bugs.webkit.org/show_bug.cgi?id=165101</a></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>