Bug 125998 - For image documents, use the iamge-url as the tab-icon. patch by Christian Schmidt <bugzilla.mozilla.org@chsc.dk> r=vlad
git-svn-id: svn://10.0.0.236/trunk@232646 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
38f086ac70
commit
fb421c4931
@ -430,7 +430,11 @@
|
||||
<parameter name="aElt"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
var iconURL = this.buildFavIconString(aURI);
|
||||
var iconURL;
|
||||
if (this.contentDocument instanceof ImageDocument)
|
||||
iconURL = this.currentURI.spec;
|
||||
else
|
||||
iconURL = this.buildFavIconString(aURI);
|
||||
if (!this.isFavIconKnownMissing(iconURL))
|
||||
aElt.setAttribute(aAttr, iconURL);
|
||||
]]>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user