Bug 542735 - Fire a mousemove event at the start of a click [r=mfinkle]

--HG--
extra : rebase_source : 54707e973565daab38db05489eeb2498d89912d8
This commit is contained in:
Matt Brubeck 2010-09-15 00:54:45 -07:00
parent bf0541a08f
commit 7e754d6c20

View File

@ -516,6 +516,7 @@ Content.prototype = {
sendAsyncMessage("Browser:OpenURI", { uri: uri });
} else if (!this._formAssistant.open(element)) {
sendAsyncMessage("FindAssist:Hide", { });
this._sendMouseEvent("mousemove", element, x, y);
this._sendMouseEvent("mousedown", element, x, y);
this._sendMouseEvent("mouseup", element, x, y);
}