Activating address bar when a new typed domain is still loading only selects the trailing slash
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: bugzilla, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
Type an address I've visited before, such as bogleheads.org/, into location bar. Note trailing slash. Problem also happens if you enter the full URL, e.g. https://www.bogleheads.org/. Hit Enter. Then immediately hit Cmd-L before the page has fully loaded.
Actual results:
This will select only the "/" part of the URL.
Expected results:
The whole URL should have been selected.
I discovered this because sometimes I want to open a URL that I've visited recently and also copy its URL so I can paste it into a Hacker News comment or whatever. The easiest way is to autocomplete it, then select the URL. Often I end up with just "/" on the clipboard due to this bug.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•4 years ago
|
||
It looks like a race condition between autofill and select all
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Reproduced this issue using Windows 10 64bit.
Affected versions
- Firefox 78.0.2esr (BuildId:20200708170510)
- Firefox 78.0.2 (BuildId:20200708170202)
- Firefox 79.0b5 (BuildId:20200708005253)
- Firefox 80.0a1 (BuildId:20200708214935)
Unaffected versions
- Firefox 68.10.0esr (BuildId:20200622191537)
Regression Range
- Possible regressor: Bug 1601052
- Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=81290c6d38ecb68446fad0f80fbcfa9856910b50&tochange=76ee1827c820f34b3b595f887f57b4c847316fcc
It seems that mozregression pointed out Bug 1601052 - Wait for both TabSelect and urlbar focus changes from the tab switcher. r=dao
for causing this regression.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
yeah, just too many things happen at once in this case
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
This is not limited to race conditions with Ctrl+L, with a bad internet connection this state can persist.
STR:
- Use a very slow/limited/blocked proxy (eg tor).
- Type a domain and press enter (eg
soundcloud.com
). - While page is stuck loading, click in the address bar.
Only the trailing slash is selected, copying and pasting ouputs "/
".
Does not happen when including https://
for unvisited sites.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=830c610c8d3cba1a47eef5db8e241536ad0e8f47&tochange=8326e65a8923da7c03468838649c3f57ade394c5
nsSTSPreloadList.inc
includes soundcloud.com, suggesting it is related to HSTS.
Updated•1 year ago
|
Updated•1 year ago
|
Description
•