New issue
Advanced search Search tips

Issue 719515 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Trigger the file upload dialog after selecting an option from an html select tag

Reported by sandstor...@gmail.com, May 8 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
See https://jsfiddle.net/ngLbyv5a/

The following works on Firefox but not on Chrome.

1. Select browse from the select box.
2. Expect the file input window to come up

What is the expected behavior?
I believe according to WC3, as long as the action is a user initiated action then programatically clicking on an input box should bring up the file selector provided by Chrome. See https://html.spec.whatwg.org/multipage/interaction.html#triggered-by-user-activation

What went wrong?
The chrome file selector provided by the browser is not coming up when the user selects "browse" from the select window.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 57.0.2987.133  Channel: n/a
OS Version: OS X 10.12.4
Flash Version:
 
Components: -Blink>Input Blink>Forms

Comment 2 by ajha@chromium.org, May 10 2017

Labels: Needs-Milestone
Cc: kkaluri@chromium.org
Labels: -Needs-Milestone M-60
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Mac 10.12.4 with chrome stable #58.0.3029.110, Canary #60.0.3096.0 and also in earlier version M30 - #30.0.1549.0.
This is a non-regression issue, hence marking it as untriaged.

Attaching a screen-cast for reference.

Note: Issue is not observed in Windows 10 and Ubuntu 14.04 with stable and Canary builds.
Issue 719515.mp4
462 KB View Download

Comment 4 by tkent@chromium.org, May 12 2017

Components: -Blink>Forms Blink>Forms>Select Blink>Forms>File
Labels: -Pri-2 -M-60 OS-Chrome OS-Linux OS-Windows Pri-3
Status: Available (was: Untriaged)
Edge: OK
Safari: No

Project Member

Comment 5 by sheriffbot@chromium.org, May 14 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by tkent@chromium.org, May 15 2018

Labels: -Hotlist-Recharge-Cold Hotlist-Interop
Status: Available (was: Untriaged)

Sign in to add a comment