[Webkit-unassigned] [Bug 236981] how to disable capture when upload image file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 24 04:32:08 PST 2022


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

--- Comment #3 from alexhsu <weaksdfg at gmail.com> ---
(In reply to Aditya Keerthi from comment #2)
> The "Take Photo" action is displayed whenever image types are accepted by
> the file input, and is independent of the "capture" attribute. The spec
> doesn't say that we should exclude such an option if "capture" is not
> specified.
> 
> Can you elaborate on why you want to disable this action?

sir,
The file input is not of type picture, but "Photo" still shows up, then
Clicking "take a photo" on an html page will crash the app, even if the app doesn't have permission to open the camera.
My project has webview in an APP, happens as described earlier.

So I think there has to be a feature to disable it off

-- 
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/20220224/c470c371/attachment.htm>


More information about the webkit-unassigned mailing list