mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
95cc0dafab
We were using nsIDOMWindowUtils to send mousedown and mouseup events to the <select> input after a selection was made in e10s mode, but doing so causes focus to be pulled back to the <select> if any input or change event handlers tried to shift focus. For example, the reviewer input on Bugzilla was having its focus stolen after setting the review flag to r?, which was how this bug was discovered. We're going for mostly-Blink parity here, where it seems (at least on Windows) a mouseup and click event are dispatched on <select> elements after the dropdown is closed (either by mouse or keyboard). We're adding a mousedown just before those, since that seems to make the most sense. MozReview-Commit-ID: HAThE6ClBWT --HG-- extra : rebase_source : 33dea1361ecd114b563c2b972bb6d3811e9d779c |
||
---|---|---|
.. | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
identity | ||
library | ||
locales | ||
modules | ||
mozapps | ||
obsolete | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc | ||
moz.build | ||
moz.configure | ||
toolkit.mozbuild |