зеркало из https://github.com/mozilla/gecko-dev.git
c1f323bbe7
We need to handle autofilling the first result separately from autofilling results in general (which happens in UrlbarInput.setValueFromResult), so add a new UrlbarInput.autofillFirstResult method. The controller calls it instead of setValueFromResult. I ported the logic from nsAutoCompleteController, as described in the bug. Other changes are related to the new test for this. As part of this work, I was interested in learning how awesomebar handles browser_autoFill_typed.js, so I added it to the legacy tests, with a small tweak in the test for awesomebar. Differential Revision: https://phabricator.services.mozilla.com/D26852 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
browser.ini | ||
browser_test_doc_creation.js | ||
browser_test_urlbar.js | ||
head.js |