Bug 226223

Summary: AX: Input file type does not obey camera permissions in safari
Product: WebKit Reporter: brendan.liu
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: aestes, akeerthi, bfulgham, hi, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: iPhone / iPad   
OS: All   

brendan.liu
Reported 2021-05-25 09:37:21 PDT
In safari mobile ios, if an <input type=file...> is set to open the camera, the camera is always opened even if the camera permissions are set to 'Deny Access' or 'Ask Access'.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-05-25 09:37:36 PDT
youenn fablet
Comment 2 2021-07-04 23:56:01 PDT
Camera permissions are only used for navigator.mediaDevices.getUserMedia, in particular to controll its Deny/Grant prompt. <input type=file...> requires a user gesture to select a given photo so does not require a specific permission.
Brent Fulgham
Comment 3 2022-02-10 11:10:15 PST
This is working as designed. Resolving using the mildly offensive 'Invalid' category to indicate this is not an implementation bug.
Note You need to log in before you can comment on or make changes to this bug.