Closed Bug 947067 Opened 11 years ago Closed 3 years ago

Smarter URI autocomplete

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rnewman, Unassigned)

References

Details

The autocomplete logic in BrowserSearch can be improved in three ways.

Firstly, the speculative connection hook should be triggered with the appropriate scheme, based on the matched URI. That'll ensure that the opened connection is useful, particularly in the case of redirects to https.

Secondly, the autocompleted URI fragment shouldn't lose its scheme when transitioning to editing mode. This will introduce a little complexity, but if I type:

   "wells"

and it autocompletes to my bookmark <https://www.wellsfargo.com/>

which in the awesomebar will appear to be

   "wellsfargo.com/"

I expect it to make the initial and speculative connections over HTTPS, and -- to a lesser extent -- to include the common subdomain that was stripped from the match. That expectation applies if I append paths to the URI, too.

This will involve tracking the non-stripped matched host, and the matched scheme, and knowing when to discard them during editing (e.g., if I backspace and change ".com" to ".org").

Thirdly, speculative DNS lookups should be sure to use the complete domain to which the user will navigate -- either including the common subdomain, or both with and without (expecting redirects, as in the case of "wellsfargo.com" => "www.wellsfargo.com").
Blocks: 947390
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.