| Summary: | [macCatalyst] Support photo picker and camera actions for file inputs | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aditya Keerthi <akeerthi> | ||||||||
| Component: | Forms | Assignee: | Aditya Keerthi <akeerthi> | ||||||||
| Status: | NEW --- | ||||||||||
| Severity: | Normal | CC: | cdumez, hi, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | Other | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Aditya Keerthi
2021-09-03 12:31:12 PDT
Created attachment 437298 [details]
Patch
Created attachment 437304 [details]
Patch
Comment on attachment 437304 [details]
Patch
It seems slightly odd to me that we would make macCatalyst WebKit and macOS WebKit do different things when you click a file input, but I don't know if that means "macOS WebKit should get an image picker" or "macCatalyst WebKit should just go straight to NSOpenPanel". Regardless, that should be an explicit decision instead of a random ifdef about missing API, so I guess this is a change in a good /direction/.
Created attachment 437306 [details]
Patch for landing
(In reply to Tim Horton from comment #4) > Comment on attachment 437304 [details] > Patch > > It seems slightly odd to me that we would make macCatalyst WebKit and macOS > WebKit do different things when you click a file input, but I don't know if > that means "macOS WebKit should get an image picker" or "macCatalyst WebKit > should just go straight to NSOpenPanel". Regardless, that should be an > explicit decision instead of a random ifdef about missing API, so I guess > this is a change in a good /direction/. Thanks for the review! I will discuss with more Catalyst folks prior to landing. |