mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 125998 - For image documents, use the iamge-url as the tab-icon. patch by Christian Schmidt <bugzilla.mozilla.org@chsc.dk> r=vlad
This commit is contained in:
parent
de2dc2714c
commit
b85e2b7265
@ -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…
Reference in New Issue
Block a user