[Webkit-unassigned] [Bug 190982] <input type=file accept=...> does not filter correct file types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 8 10:21:58 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=190982

Nolan Lawson <nolan at nolanlawson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nolan at nolanlawson.com

--- Comment #2 from Nolan Lawson <nolan at nolanlawson.com> ---
I believe I've run into the same issue. Here is a reproducible test case: http://bl.ocks.org/nolanlawson/raw/6fe0456c4b3996e69bbd1c2f11920d76/

On iOS 12.4, using <input type="file">, I see the following behavior:

accept="audio/*" correctly allows m4a audio files to be selected
accept="audio/*,image/*" does NOT allow m4a audio files to be selected
accept="*/*" allows m4a audio files to be selected

Steps to reproduce:

1. In the Voice Memos app, create a voice memo (m4a file) and save it to iCloud
2. Navigate to the above website in Safari
3. Click the "allows both audio and images" input
4. Under iCloud, try to choose the file

Expected results:

The m4a file is not grayed out and is selectable.

Actual results:

The m4a file is grayed out and not selectable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190908/99e6cd98/attachment.html>


More information about the webkit-unassigned mailing list