You need to
before you can comment on or make changes to this bug.
This is a followup to <http://trac.webkit.org/changeset/51602>.
With that patch, HTMLSelectElement::setSelectedIndexByUser() is now triggered by Safari's forms autofill code. Some pages run JS that resets various form elements when the selected Country changes. As of 51602, that JS was being run even when there is no change to a pop-up element, which does no good and causes trouble for autofill.
Created an attachment (id=49235) [details]
Patch to bail out of setSelectedIndexByUser when the new index matches the old one
Fixed in <http://trac.webkit.org/changeset/55101>
(From update of attachment 49235 [details])
Can't we write a manual test? One which would simply alert() on the change?
:( for lack of testing.
A manual test would have to be dependent on a particular client, since setSelectedIndexByUser() is not called if the user brings up the pop-up menu and then dismisses it with the initially-selected item still selected. So that's more in the realm of testing the browser than testing WebCore, I think.