NEW219783
Safari crashes when trying to select HEIC file for input type file accepting png and jpg
https://bugs.webkit.org/show_bug.cgi?id=219783
Summary Safari crashes when trying to select HEIC file for input type file accepting ...
Joshua Lückers
Reported 2020-12-11 07:52:53 PST
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.
Attachments
HTML file with input to reproduce the crash (90 bytes, text/html)
2020-12-11 07:52 PST, Joshua Lückers
no flags
Crash log (134.40 KB, text/plain)
2020-12-11 07:56 PST, Joshua Lückers
no flags
Joshua Lückers
Comment 1 2020-12-11 07:56:27 PST
Created attachment 415997 [details] Crash log
Alexey Proskuryakov
Comment 2 2020-12-12 17:33:35 PST
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
Joshua Lückers
Comment 3 2020-12-14 00:28:09 PST
I'm no longer able to reproduce this on iOS Safari (14.2.1).
Note You need to log in before you can comment on or make changes to this bug.