Something broke and now my popup boxes that have an onChange are not executing the onChange when you switch to the first item in the popup.
It still works with Safari and Firefox.
I couldn't reproduce with<select onchange="alert()"><option>1</option><option>2</option><option>3</option></select>
i.e. the alert showed up every time.
Can you provide a test case?
Confirming this bug. It only happens when the first option is not the default.
Created attachment 11198 [details]
Testcase using Mitz's code from above. The second option is selected when the page loads, selecting 1 does not fire the alert on the first selection of 1, selecting 2 or 3 then selecting 1 again does fire the alert.
Fixing keywords/component/priority/severity (blocker is for bugs that block WebKit development).
Filed in radar as 4808112
Created attachment 11378 [details]
I do not see how to make an automated test (AFAICT onchange only fires for mouse actions, and only when the popup menu is actually opened, and DRT doesn't seem to be able to simulate this) - and I'm not sure if adding a manual test is worth it in this case.
Comment on attachment 11378 [details]
Committed revision 17603.