Closed
Bug 323549
Opened 17 years ago
Closed 17 years ago
History autocomplete doesn't autocomplete "fi" to "file://" URIs correctly
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: ajschult784)
References
Details
(Keywords: fixed1.8.1, regression)
Attachments
(1 file)
2.43 KB,
patch
|
mconnor
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
BUILD: Current trunk debug build STEPS TO REPRODUCE: 1) Start Firefox with a clean profile. 2) Say that you don't want it to be the default browser 3) Wait for the start page to load. 4) Hit Ctrl-L on your keyboard. 5) Type "file:///home/bzbarsky/test.html" in the URL bar and hit enter. 6) Wait for the HTML to load. 7) Hit Ctrl-L on your keyboard. 8) Type "fi" in the URL bar. At this point the autocomplete dropdown appears. It contains one entry in it. 9) Hit the down arrow key once. 10) Hit the right arrow key once. 11) Hit the left arrow key twice. 12) Hit the backspace key twice. 13) Type the letter "x". 14) Hit enter. EXPECTED RESULTS: After step 9 the URL bar contains the string "file:///home/bzbarsky/test.html" and the caret is at the _end_ of the string. After step 13 the URL bar contains the string "file:///home/bzbarsky/test.xml". After step 14 the XML file loads. ACTUAL RESULTS: After step 9 the URL bar contains the string "fi" and the caret is at the _beginning_ of the string. After step 13 the URL bar contains the string "xfi". Step 14 gives an error page. This looks like a likely regression from bug 202992. Could someone check on that, please?
![]() |
Reporter | |
Updated•17 years ago
|
Flags: blocking-firefox2?
Comment 1•17 years ago
|
||
Indeed, this is a regression from bug 202992.
OS: Linux → All
Hardware: PC → All
Updated•17 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Assignee | ||
Comment 2•17 years ago
|
||
Why not just fill in the URL bar with the whole URL (rather than append the last part of it)? The patch to do that is trivial.
Assignee | ||
Comment 3•17 years ago
|
||
This backs out the patch from bug 323549 and sets the textbox string to the result string. This also handles the URL prefixes (www and ftp), as well as anything else an autocomplete result provider might throw at it (like names/email addresses)
Assignee | ||
Updated•17 years ago
|
Attachment #208829 -
Flags: review? → review?(mconnor)
Comment 4•17 years ago
|
||
Comment on attachment 208829 [details] [diff] [review] patch Much better, thanks!
Attachment #208829 -
Flags: review?(mconnor)
Attachment #208829 -
Flags: review+
Attachment #208829 -
Flags: approval1.8.1+
Assignee | ||
Comment 5•17 years ago
|
||
FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•