Include Webp in the list of extensions in the "Images" filter and stop having it be a localizable list
Categories
(Core :: Widget, defect)
Tracking
()
People
(Reporter: studio, Unassigned)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
I want to open Webp image in a "Open file" dialog (HTML5 input type="file")
Actual results:
I didn't see webp images it "Images" filter is active. I have to select "All types" to display it
Expected results:
I'd like to see Webp images by default (In the "Images" filter)
Comment 1•7 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
20190201221223
I think this should be morphed into a general bug about updating the list of Image Files. It's really odd overall, because it has several types Firefox can't handle, like .tif and .psd
:aosmond this might be a longshot, but since you fixed bug 1294490 maybe you'd be interested in this or you know who would be.
Comment 2•7 years ago
|
||
This list is shared with the HTML input element, where if you specify accepts="image/*" we use the same list, which explains why the list contains formats that Firefox itself might not understand.
We should update the list to include .webp, but we should also, IMO, take it out of filePicker.properties. It doesn't make sense to have this list be different in different locales, or rev'ing its ID and then making other locales just update the list in the same way as English.
In any case, the list's .properties, and the most senseful place for a compile-time constant (nsIFilePicker and friends) live in widget, so let's move the bug there.
Updated•7 years ago
|
Updated•3 years ago
|
Description
•