Closed Bug 1057509 Opened 11 years ago Closed 11 years ago

input type=file does not properly handle accept with specific MIME types

Categories

(Firefox :: Untriaged, defect)

31 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 826185

People

(Reporter: cfarrell.bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release) Build ID: 20140715214327 Steps to reproduce: Create a file upload element on an XHTML5 page: <input type="file" accept="audio/x-wav,audio/mpeg"/> Load the page, click the file input to show the File Upload dialog. I tested with 31.0+build1-0ubuntu0.14.04.1. Actual results: The File Upload dialog showed all file types. In the dialog a select was present with options: * All Files (selected initial when the dialog shows) * All Supported Types * WAV Audio * MP3 Audio Expected results: All Files should not be an option when specific MIME types are listed in accept. All Supported Types should be selected when the dialog shows.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.