Bug 254604
Summary: | REGRESSION (iOS 16.4): Photo library picker shows videos even for accept="image/*" | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jesper Bendtsen <jesperbendtsen83> |
Component: | WebKit Misc. | Assignee: | Aditya Keerthi <akeerthi> |
Status: | RESOLVED FIXED | ||
Severity: | Major | CC: | akeerthi, sabouhallawa, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 16 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 16 |
Jesper Bendtsen
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107330772>
Aditya Keerthi
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
Pull request: https://github.com/WebKit/WebKit/pull/12093
EWS
Committed 262275@main (6c610b79ff6c): <https://commits.webkit.org/262275@main>
Reviewed commits have been landed. Closing PR #12093 and removing active labels.