Closed Bug 292094 Opened 20 years ago Closed 20 years ago

Location (address) Bar drop-down history should not keep URL of DNS_HOST_NOT_FOUND pages

Categories

(Firefox :: Address Bar, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 9203

People

(Reporter: postmaster, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

When we type an URL in the location (address) bar it is easy to make a mistake
in typing - and unfortunately the drop-down menu will keep this entry although
there is a DNS_HOST_NOT_FOUND response from the server pointing to a mistyped entry.

The case where it is indeed a valid entry is very rare (DNS server down?) and
should not be a case against not keeping this wrong entry which is the expected
behaviour 99% of the time.

As it seems that the entry is created immediately after getting a reply from the
server (because it list the title of the page) it seems trivial (IANAP:-) to not
do it if the server return a DNS_HOST_NOT_FOUND (502) reply.
If it is not the case, then the implementation could maybe delete the entry when
a DNS_HOST_NOT_FOUND response comes from the server? This need having a method
deleteEntryLocationBar(URL) or something like that :-)

Reproducible: Always

Steps to Reproduce:
1. type http://nosuchurl.com/ in the location bar
2. type return
3. wait for the DNS_HOST_NOT_FOUND reply
4. click on the location bar to get the drop-down
Actual Results:  
You see an entry for:
http://nosuchurl.com/ 502 blah blah

Expected Results:  
Should not have kept the entry because you got a DNS_HOST_NOT_FOUND
Duplicate of Core bug 9203?

*** This bug has been marked as a duplicate of 9203 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.