<input type=file accept=image/jpeg> should allow camera capture
Categories
(Firefox for Android Graveyard :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: maghoff, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
Steps to reproduce:
Click "Browse" on a file input with accept="input/jpeg": <input type=file accept="image/jpeg">
Actual results:
A file browsing UI opened, allowing me to pick from existing photos and images on the phone
Expected results:
I should be offered the choice between taking a new photo with the camera or picking from existing photos.
This expected behavior is how it works in Chrome for Android. Perhaps more interestingly, this is also how it works in Firefox if I add PNG to the accept list. So, for <input type=file accept="image/jpeg, image/png">, I do get the choice to take a new photo with the camera. This is backwards: JPEG is the more likely format to get from the camera.
Comment 1•5 years ago
|
||
This is not something we will improve in Fennec at this point. I've moved this bug to Fenix. I'm not sure how things work there, but that is the proper place now to hae this on file.
| Assignee | ||
Updated•5 years ago
|
Description
•