Summary: | REGRESSION: After javascript, onChange not triggered when selecting same option | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kevin M. Dean <kevin> | ||||||||
Component: | Forms | Assignee: | Alexey Proskuryakov <ap> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ap, sam | ||||||||
Priority: | P1 | Keywords: | HasReduction, Regression | ||||||||
Version: | 420+ | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.4 | ||||||||||
Attachments: |
|
Description
Kevin M. Dean
2007-02-08 13:44:37 PST
Created attachment 13064 [details]
sample code
Created attachment 13065 [details]
Sample Code
Created attachment 13089 [details]
proposed fix
I'm not sure if I understood this code well enough, but this fixes the bug and passes existing tests.
When testing this, I noticed a separate regression with list boxes - an onchange event gets dispatched when clicking on an already selected element, if it was selected from JS. Going to file a new bug.
Comment on attachment 13089 [details]
proposed fix
r=me
Regressions are P1. Alexey, can this be tested in DRT? If not, please add a test to the manuel-tests directory instead. Committed revision 19563. (In reply to comment #7) > Alexey, can this be tested in DRT? If not, please add a test to the > manuel-tests directory instead. It cannot be tested in DRT - but the test is already in manual-tests. Or did I misunderstand you? |