Open Bug 1582722 Opened 5 years ago Updated 2 years ago

Autocomplete focus messages don't match

Categories

(Toolkit :: Autocomplete, defect, P2)

defect

Tracking

()

People

(Reporter: enndeakin, Unassigned)

References

Details

The parent sends the message "FormAutoComplete:Focus"

https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/toolkit/components/satchel/AutoCompletePopup.jsm#364

But the child expects "FormAutoComplete:RequestFocus"

https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/toolkit/modules/AutoCompletePopupContent.jsm#57

Even if this is fixed up, there is still an issue:

The child calls this._input.focus() but this._input is an nsIAutoCompleteInput with no focus() method.

Should this code be 1. removed. 2. adjusted in some manner to focus the input

Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.