mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 681640 - Send mouse events to form fields when they are focused in Fennec [r=mbrubeck]
This commit is contained in:
parent
049f1f1cc4
commit
ba0943e119
@ -495,8 +495,9 @@ let Content = {
|
||||
if (uri)
|
||||
sendAsyncMessage("Browser:OpenURI", { uri: uri,
|
||||
referrer: element.ownerDocument.documentURIObject.spec });
|
||||
} else if (!this._formAssistant.open(element) && this._highlightElement) {
|
||||
sendAsyncMessage("FindAssist:Hide", { });
|
||||
} else if (this._highlightElement) {
|
||||
if (!this._formAssistant.open(element))
|
||||
sendAsyncMessage("FindAssist:Hide", { });
|
||||
this._sendMouseEvent("mousemove", this._highlightElement, x, y);
|
||||
this._sendMouseEvent("mousedown", this._highlightElement, x, y);
|
||||
this._sendMouseEvent("mouseup", this._highlightElement, x, y);
|
||||
|
Loading…
Reference in New Issue
Block a user