Don't fetch favicons for (i)frames.

svn path=/trunk/netsurf/; revision=12986
This commit is contained in:
Michael Drake 2011-10-07 21:49:29 +00:00
parent c8d9e012e5
commit 2c636bc0a4
1 changed files with 4 additions and 0 deletions

View File

@ -954,6 +954,10 @@ static void browser_window_update_favicon(hlcache_handle *c,
assert(c != NULL);
assert(bw !=NULL);
if (bw->window == NULL)
/* Not top-level browser window; not interested */
return;
/* already fetching the favicon - use that */
if (bw->loading_favicon != NULL)
return;