mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1048664 - Fallback to /favicon.ico if an imageDocument is too large to use as a tab icon. r=dao ui-r=phlsa
This commit is contained in:
parent
55dd0d3812
commit
d38fc7305f
@ -896,9 +896,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use documentURIObject in the check for shouldLoadFavIcon so that we
|
// Use documentURIObject in the check for shouldLoadFavIcon so that we
|
||||||
// do the right thing with about:-style error pages. Bug 453442
|
// do the right thing with about:-style error pages. Bug 453442
|
||||||
else if (this.shouldLoadFavIcon(documentURI)) {
|
if (!icon && this.shouldLoadFavIcon(documentURI)) {
|
||||||
let url = documentURI.prePath + "/favicon.ico";
|
let url = documentURI.prePath + "/favicon.ico";
|
||||||
if (!this.isFailedIcon(url))
|
if (!this.isFailedIcon(url))
|
||||||
icon = url;
|
icon = url;
|
||||||
|
Loading…
Reference in New Issue
Block a user