Open Bug 1327297 Opened 6 years ago Updated 3 years ago

Urlbar deletes all typed text when page finishes loading (and suggestions are irrelevant to the string in urlbar)


(Firefox :: Address Bar, defect, P3)





(Reporter: arni2033, Unassigned)



>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
>>>   My Info:   Win7_64, Nightly 50, 32bit, ID 20160715063552 (2016-07-15)
1. Open
2. Execute in console:   setTimeout(function(){location.href=""},3000)
3. In less than 3 seconds type "asdf" or at least "a" in urlbar
4. Wait 3 seconds

AR:  Typed text is replaced with ""
ER:  Either X or Y.  X is better
 X) Urlbar should display my carefully typed text - "asdf"
 Y) First suggestion should say  � - Visit�  instead of  �asdf - search with Google�

1) I encountered this bug on some lagging pages, because parent process usually doesn't lag,
   so there's enought time to find something in history while content process is still lagging.
2) The summary says "when page finishes loading". I know that there's some underlying mechanism under
   "finishes loading", because usually urlbar sets new location only once DNS is resolved or something
   like that. Firefox developers should know better; I'll just leave "finishes loading" in the summary
No longer blocks: 1277113
Component: Untriaged → Location Bar
The fact we reset the urlbar after a load is positive, it prevents spoofing.
But we should also hide the urlbar popup.
Priority: -- → P3
See Also: → 1645648
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.