| Summary: | File picker will let you pick another video file when you form only accepts video/mp4 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alec Wilson <jude> | ||||
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | cdumez, eric.carlson, jer.noble, joepeck, jude, webkit-bug-importer, wenson_hsieh | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 14 | ||||||
| Hardware: | Mac | ||||||
| OS: | Other | ||||||
| Attachments: |
|
||||||
the screen recording shows Brave Browser but happens in Safari and any Chromium-based browser Could you please post the feedback ID for reference? @Alexey Proskuryakov the feedback id is FB8898118 Thank you! For Apple employees: rdar://71407635 |
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.