gecko-dev/toolkit
Mike Conley 95cc0dafab Bug 1275384 - Dispatch mousedown, mouseup and click events manually on <select> for e10s instead of using DOMWindowUtils. r=Felipe
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
2016-05-25 13:21:23 -04:00
..
components Bug 911216 - Part 21: Appease eslint. r=bustage 2016-05-26 16:59:16 +02:00
content Merge m-c to fx-team, a=merge 2016-05-25 15:39:27 -07:00
crashreporter Backed out changeset 10db03f821c4 (bug 1270686) for crashes on Windows 7 opt in e.g. M-e10s(bc5). r=backout 2016-05-26 11:24:09 +02:00
forgetaboutsite Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-25 11:54:21 +08:00
identity Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj. 2016-04-27 14:16:50 +10:00
library Bug 1180725 - use AVFoundation for camera capture on OSX. r=jib 2016-05-19 22:48:55 +08:00
locales Bug 394984: Enable any admin user on OSX to update Firefox, front-end and updater changes. r=rstrong 2016-05-24 22:25:11 -04:00
modules Bug 1275384 - Dispatch mousedown, mouseup and click events manually on <select> for e10s instead of using DOMWindowUtils. r=Felipe 2016-05-25 13:21:23 -04:00
mozapps Merge mozilla-central to mozilla-inbound 2016-05-25 15:20:00 +02:00
obsolete
pluginproblem
profile Bug 1265368 - enable resetting non-default profiles, r=MattN 2016-05-05 21:38:49 +01:00
system Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
themes Bug 1271680 - use scalable SVG icons for the findbar navigation arrows on Windows and Linux too. r=dao 2016-05-17 23:27:35 +02:00
xre Merge m-c to inbound. a=merge 2016-05-26 11:22:27 -04:00
.eslintrc Bug 1257246: Update eslint rules for eslint 2. r=MattN 2016-04-05 11:33:12 -07:00
moz.build Bug 1262866 - Move crashreport.sjs from browser.ini to TEST_HARNESS_FILES to prevent failure in --disable-crashrepoter builds. r=ted 2016-04-12 11:19:21 -07:00
moz.configure Bug 1257326 - Move MOZ_SERVICES_CLOUDSYNC to Python configure. r=glandium 2016-05-12 11:56:00 -07:00
toolkit.mozbuild Bug 1262335 - Part 2. Remove Android GB/HC defines from OMX. r=snorp 2016-04-06 17:30:17 +09:00