New issue
Advanced search Search tips

Issue 635969 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

input elements are now firing select events when focused programmatically

Reported by bma...@sitepen.com, Aug 9 2016

Issue description

Chrome Version       : 52.0.2743.116 m  (Also observed on latest Mac version)
URLs (if applicable) : https://jsfiddle.net/xxnk9hs4/1/
Other browsers tested: 
  Firefox 48.0: OK 
  IE 11: OK

What steps will reproduce the problem?
(1) Run the linked JS fiddle, observe the console

What is the expected result?
Focusing an input programmatically should not cause a select event to be emitted.

What happens instead?
Focusing an input programtically causes a selct event to be emitted

Please provide any additional information below. Attach a screenshot if
possible.

 
chromeBug.png
100 KB View Download
Labels: Needs-Bisect
Components: Blink>Input
Labels: -Type-Bug -Needs-Bisect M-52 hasbisect OS-Linux OS-Mac OS-Windows Type-Bug-Regression
Owner: tkent@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on Windows 7, Mac 10.11.6, Ubuntu 14.04 using 52.0.2743.116, latest canary 54.0.2824.0 as per above steps.

This is regression issue broken in M-52.

Please find below bisect info:
Last good build:52.0.2709.0
First bad build:52.0.2710.0

CHANGELOG URL:
https://chromium.googlesource.com/chromium/src/+log/d66e6b8e73c6e886024f251301d13ac9f972cb10..0e45dae0fdbf7dae65b394cdb9c3df69e3f6158d

From above CL, suspecting below:
https://chromium.googlesource.com/chromium/src/+/0e45dae0fdbf7dae65b394cdb9c3df69e3f6158d

tkent@Could you please look into this issue if it is related to your change, else feel free to assign it to an appropriate dev person.

Thanks,

Comment 3 by tkent@chromium.org, Aug 10 2016

Components: -Blink>Input Blink>Forms>Text
Labels: -M-52 -Pri-3 Hotlist-Interop Pri-2
Owner: ----
Status: Available (was: Assigned)

Comment 4 by tkent@chromium.org, Aug 10 2016

Status: WontFix (was: Available)
Hmm, I think this is a bug of Firefox.  Firefox dispatches 'select' event on TAB focus navigation, but doesn't dispatch on element.focus().  It's inconsistent.  IE doesn't support 'select' event.

Sign in to add a comment