Closed Bug 1251385 Opened 9 years ago Closed 4 years ago

When I switch back to the first suggestion, new urlbar: [1] changes original input (converts to lower case; adds/removes http:// and /) [2] does that inconsistently

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox47 --- affected

People

(Reporter: arni2033, Unassigned)

References

Details

(Whiteboard: [fxsearch])

>>> My Info: Win7_64, Nightly 47, 32bit, ID 20160224030246 > TRIM URLS = TRUE [default] (browser.urlbar.trimURLs -> true) STR_1 (lower case): 1. Open http://example.org/#D4ainEW7aw1.jpg in a new tab 2. Open new tab 3.A) Type or paste "D4ainEW7aw1.jpg" in urlbar 3.B) Type or paste "D4ainEW7aw1" in urlbar [urlbar suggestions will appear] 4. Press Down key [suggestion "Switch to tab" will be selected] 5. Press Up key [in scenario (A) suggestion "Visit http://d4ainew7aw1.jpg/" will be selected] AR: A) The string in urlbar changed from "D4ainEW7aw1.jpg" to "d4ainew7aw1.jpg" (lower case) B) The string in urlbar is still "D4ainEW7aw1", e.g. equal to the string from Step 3 ER: The string in urlbar should be equal to the string in Step 3 STR_2 (http:// and /): 1.A) Type/paste "http://d4ainew7aw2.com/" in urlbar (without quotes) 1.B) Type/paste "https://d4ainew7aw2.com/" in urlbar (without quotes) 2. Press Down key or Up key AR: A) Urlbar value was replaced from "http://d4ainew7aw2.com/" to "d4ainew7aw2.com" B) Urlbar value was replaced from "https://d4ainew7aw2.com/" to "https://d4ainew7aw2.com" I.e. in scenario (A) "http://" and "/" were removed. In scenario (B) "/" was removed. ER: The string in urlbar should be equal to the string in Step 1 > TRIM URLS = FALSE (browser.urlbar.trimURLs -> false) STR_3 (the same as STR_1 with different result): 1. Open http://example.org/#D4ainEW7aw3.jpg in a new tab 2. Open new tab 3.A) Type or paste "D4ainEW7aw3.jpg" in urlbar 3.B) Type or paste "D4ainEW7aw3" in urlbar [urlbar suggestions will appear] 4. Press Down key [suggestion "Switch to tab" will be selected] 5. Press Up key [in scenario (A) suggestion "Visit http://d4ainew7aw3.jpg/" will be selected] AR: A) The string in urlbar changed from "D4ainEW7aw3.jpg" to "http://d4ainew7aw3.jpg/" B) The string in urlbar is still "D4ainEW7aw3", e.g. equal to the string from Step 3 I.e. in scenario (A) "http://" and "/" were added and the string was converted to lower case ER: The string in urlbar should be equal to the string in Step 3 STR_4 (the same as STR_3 with opposite result): 1.A) Type/paste "d4ainew7aw4.com" in urlbar (without quotes) 1.B) Type/paste "https://d4ainew7aw4.com" in urlbar (without quotes) 2. Press Down key or Up key AR: A) Urlbar value was replaced from "d4ainew7aw4.com" to "http://d4ainew7aw4.com/" B) Urlbar value was replaced from "https://d4ainew7aw4.com" to "https://d4ainew7aw4.com/" I.e. in scenario (A) "http://" and "/" were added. In scenario (B) "/" was added. ER: The string in urlbar should be equal to the string in Step 1 Note: Behavior described in STR_4 is very bad, because it's reproducible with input string "www.helloworl", i.e. urlbar can convert that string to "http://www.helloworl/[caret]". Therefore to continue typing I have to delete the slash. "browser.urlbar.trimURLs -> false" is a workaround for several issues of location bar.
See Also: → 1254415
Priority: -- → P3
Whiteboard: [fxsearch]
Blocks: 1262507

Some cannot be reproduced, some are the expected outcome. Should be one issue per report anyway :(

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.