Closed
Bug 1062644
Opened 10 years ago
Closed 10 years ago
window.location navigation from script file breaks <link rel="icon">
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 519028
People
(Reporter: microrffr, Unassigned)
References
()
Details
Suppose you have a page with a favicon specified by a <link> tag and a script that sets the location hash when you load the page. I find that when the script is loaded from a file, the page's favicon won't show up in the tab. Strangely, when the script is specified inline, the favicon shows up fine.
Here are some demos I for this bug. They both immediately navigate to "#" and *should* have the Mozilla "m" favicon. In both cases, the linked icon appears in the "Media" panel of the page info window.
http://htmlpad.org/scriptfilenavfavicon/
This one assigns to location.href in a JS file. The favicon doesn't show up in the tab.
http://htmlpad.org/inlinescriptnavfavicon/
This one assigns to location.href in a <script> tag. The favicon shows up in the tab.
These definitely ought to be consistent, and I feel like they both should have the favicon show up.
nvm, this is old.
bug 519028
bug 408415
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•