NEW218951
File picker will let you pick another video file when you form only accepts video/mp4
https://bugs.webkit.org/show_bug.cgi?id=218951
Summary File picker will let you pick another video file when you form only accepts v...
Alec Wilson
Reported 2020-11-14 20:22:31 PST
Created attachment 414151 [details] screen recording showing a demo on a local webserver When a form specifies a specific video type, let's go with video/mp4 for this example, the macOS file picker will let you pick another type like video/mov, if you press the little play button on the file. I have submitted a bug to the macOS team through feedback but there is a possible workaround in webkit. When you select a file, webkit could do another check to see if the file is allowed with the specified content type.
Attachments
screen recording showing a demo on a local webserver (14.48 MB, video/quicktime)
2020-11-14 20:22 PST, Alec Wilson
no flags
Alec Wilson
Comment 1 2020-11-14 20:24:30 PST
the screen recording shows Brave Browser but happens in Safari and any Chromium-based browser
Alexey Proskuryakov
Comment 2 2020-11-16 09:37:32 PST
Could you please post the feedback ID for reference?
Alec Wilson
Comment 3 2020-11-19 15:57:17 PST
@Alexey Proskuryakov the feedback id is FB8898118
Alexey Proskuryakov
Comment 4 2020-11-20 09:25:46 PST
Thank you! For Apple employees: rdar://71407635
Note You need to log in before you can comment on or make changes to this bug.