[Webkit-unassigned] [Bug 259465] No permission prompt for getUserMedia

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 26 13:49:29 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259465

--- Comment #6 from Eric Carlson <eric.carlson at apple.com> ---
> Do you have any suggestions or recommendations for granting GUM on a headless WebView?

>From WebKit's perspective the Document has to be visible to get a prompt, see https://github.com/WebKit/WebKit/blob/c646f2370d230da0bf274514b07f0b6f8d624309/Source/WebCore/Modules/mediastream/MediaDevices.cpp#L169.

It may be enough to have a very small WKWebView, as long as it is parented.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230726/b4bca158/attachment.htm>


More information about the webkit-unassigned mailing list