You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
I noticed a test failure in urlbarSuggestions where URLs were being sorted out of order.
It turned out to be because the test was matching http://localhost... But starting with user input h, it would wrongly search inside the string and find a mach in localhost, but really the test (or user) is just trying to type an http prefix. To fix this I have a url normalization mode which is always entered unless the user starts with one of these:
h
ht
htt
http
http:
http:/
http://
https
https:
https:/
https://
w
ww
www
www.
bbondy
changed the title
User input starting with http doesn't sort results properly
User input starting with http doesn't sort suggestion results properly
Nov 13, 2016
I noticed a test failure in
urlbarSuggestions
where URLs were being sorted out of order.It turned out to be because the test was matching http://localhost... But starting with user input h, it would wrongly search inside the string and find a mach in localhost, but really the test (or user) is just trying to type an http prefix. To fix this I have a url normalization mode which is always entered unless the user starts with one of these:
h
ht
htt
http
http:
http:/
http://
https
https:
https:/
https://
w
ww
www
www.
Steps to reproduce for QA:
The fix was on 8 so now it will keep page2 prioritized.
The text was updated successfully, but these errors were encountered: