fune/toolkit/components/autocomplete
Marco Bonardo 021fc63b95 Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN
Some pages, like the Google login form, submit information on keydown, that
causes us to not autocomplete, because we handle keypress instead.
The patch changes autocomplete to happen on keydown.
Unfortunately formautofill also uses keydown and tries to access popup data too
late, thus it needs some hacks to work properly.
In general the formautofill code has too many indirections due to e10s, and that
makes the fix more fragile than we'd want. Ideally content autocomplete should
have its own codebase, rather than sharing the same controller as chrome code.

MozReview-Commit-ID: oAyASmDFm1

--HG--
extra : rebase_source : 64c1e7c85b203904b59e3a1e019e7f52f290cfea
2018-06-22 12:37:09 +02:00
..
tests/unit Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs 2018-05-08 18:36:22 -07:00
moz.build
nsAutoCompleteController.cpp Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN 2018-06-22 12:37:09 +02:00
nsAutoCompleteController.h Bug 1455052 part 4. Stop using nsIDOMEvent in xpidl interfaces. r=masayuki 2018-04-20 12:53:17 -04:00
nsAutoCompleteSimpleResult.cpp
nsAutoCompleteSimpleResult.h
nsIAutoCompleteController.idl Bug 1455052 part 4. Stop using nsIDOMEvent in xpidl interfaces. r=masayuki 2018-04-20 12:53:17 -04:00
nsIAutoCompleteInput.idl Bug 1455052 part 4. Stop using nsIDOMEvent in xpidl interfaces. r=masayuki 2018-04-20 12:53:17 -04:00
nsIAutoCompletePopup.idl Bug 1455674 part 11. Remove nsIDOMElement use from xpidl in toolkit. r=mossop 2018-04-26 23:36:30 -04:00
nsIAutoCompleteResult.idl
nsIAutoCompleteSearch.idl
nsIAutoCompleteSimpleResult.idl