Bug 226223 - AX: Input file type does not obey camera permissions in safari
Summary: AX: Input file type does not obey camera permissions in safari
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 13
Hardware: iPhone / iPad All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-25 09:37 PDT by brendan.liu
Modified: 2022-02-10 11:10 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.