RESOLVED FIXED 254604
REGRESSION (iOS 16.4): Photo library picker shows videos even for accept="image/*"
https://bugs.webkit.org/show_bug.cgi?id=254604
Summary REGRESSION (iOS 16.4): Photo library picker shows videos even for accept="ima...
Jesper Bendtsen
Reported 2023-03-28 12:24:03 PDT
Test the demo below, scroll down to "select some images", it also showing movies? https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-28 13:01:59 PDT
Aditya Keerthi
Comment 2 2023-03-28 13:37:18 PDT
I'm assuming this is referring to the "Photo Library" option, where I am able to reproduce. Possibly a regression caused by WebKit's adoption of the new Photos API. I think we will need to specify a PHPickerConfiguration+PHPickerFilter when creating the PHPickerViewController in `WKFileUploadPanel.mm`. Thanks for the report!
Aditya Keerthi
Comment 3 2023-03-28 20:06:16 PDT
EWS
Comment 4 2023-03-29 08:36:09 PDT
Committed 262275@main (6c610b79ff6c): <https://commits.webkit.org/262275@main> Reviewed commits have been landed. Closing PR #12093 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.