Closed
Bug 258726
Opened 21 years ago
Closed 21 years ago
Browser ignores ico file unless it is named favicon.ico
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: alvin, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817
The index.html file for the URL in question contains the following line:
<link rel="shortcut icon"
href="http://www.myfirstwebpage.net/images/MFWPico.ico" type="image/x-icon">
TOB (That Other Browser) recognizes this to be the icon file to use, but Mozilla
1.8a3 does not. On the other hand, there is an index.html file at
http://www.myfirstwebpage.net/orzopics/ which contains the following line:
<link rel="shortcut icon"
href="http://www.myfirstwebpage.net/images/favicon.ico" type="image/x-icon">
Mozilla 1.8a3 displays that icon file perfectly.
Reproducible: Always
Steps to Reproduce:
1. Enter http://www.myfirstwebpage.net/ in the Mozilla Address Bar and press
<Return>.
2. Note that the standard Mozilla bookmark icon is displayed in the Address Bar
when the page comes up.
3. Enter http://www.myfirstwebpage.net/orzopics/ in the Mozilla Address Bar and
press <Return>.
4. Note that the page's own icon is displayed in the Address Bar when the page
comes up.
Actual Results:
See above.
Expected Results:
When the http://www.myfirstwebpage.net/ page came up, I expected to see its own
icon displayed in the address bar. Check it out in IE V5.n.
[BTW - In TOB, the only time a page's own icon is displayed is if that URL was
stored first in the the Bookmark/Favorites list. That is according to Hoyle
anyway, so the fact that Mozilla displays the icon whether or not the URL is
saved first is a plus. And I'll bet you that eventually IE will come around to
doing this as well.]
Comment 1•21 years ago
|
||
Maybe Mozilla doesn't display the favicon because the file doesn't exist...
I've got a 404 error trying to display
http://www.myfirstwebpage.net/images/MFWPico.ico
(I haven't got IE, so I can't gess how it manage to display an inexistant file...)
Comment 2•21 years ago
|
||
IE looks for a "favicon.ico" even if there is a <link rel="shortcut icon">.
Mozilla does not.
Looks like the page has been fixed so that the image actually exists. Marking
invalid, since this wasn't a Mozilla bug.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 3•21 years ago
|
||
(In reply to comment #1)
> Maybe Mozilla doesn't display the favicon because the file doesn't exist...
> I've got a 404 error trying to display
> http://www.myfirstwebpage.net/images/MFWPico.ico
> (I haven't got IE, so I can't gess how it manage to display an inexistant
file...)
(In reply to comment #1)
> Maybe Mozilla doesn't display the favicon because the file doesn't exist...
> I've got a 404 error trying to display
> http://www.myfirstwebpage.net/images/MFWPico.ico
> (I haven't got IE, so I can't gess how it manage to display an inexistant
file...)
I was going to get on my high-horse and flame about such a stupid reply, but I
decided to investigate first. D*mn, you know, a capitol P looks just like a
capitol F when you expect to see an F. Yes, sir (or ma'am), the file was
misnamed on my server. I suspect the reason I saw it anyway was because an
earlier iteration of it (the one with the correct name) must have still been in
the IE cache. Thanx for the Great Reply.
You need to log in
before you can comment on or make changes to this bug.
Description
•