| Summary: | Safari crashes when trying to select HEIC file for input type file accepting png and jpg | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joshua Lückers <joshualuckers> | ||||||
| Component: | Images | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Other | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
Created attachment 415997 [details]
Crash log
Which iOS version are you seeing this with? On macOS at least, this was fixed in an underlying system framework in macOS Big Sur (see rdar://problem/59589723 for Apple employees). Perhaps we should prevent form inputs from accepting HEIC on older macOS versions. rdar://problem/70942158 I'm no longer able to reproduce this on iOS Safari (14.2.1). |
Created attachment 415996 [details] HTML file with input to reproduce the crash Safari crashes when trying to select HEIC file for input type file accepting png and jpg. Example input: <input type="file" accept=".png,.jpg" /> To reproduce: - Open example HTML in Safari - Try to select a HEIC image - Safari crashes This happens with Safari on iOS and macOS as well as Technology Preview Safari.