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   

Description brendan.liu 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'.
Comment 1 Radar WebKit Bug Importer 2021-05-25 09:37:36 PDT
<rdar://problem/78461445>
Comment 2 youenn fablet 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.
Comment 3 Brent Fulgham 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.