[Webkit-unassigned] [Bug 16296] New: -[WebFrameLoadDelegate didReceiveIcon:forFrame:] never called?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 4 13:23:49 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16296

           Summary: -[WebFrameLoadDelegate didReceiveIcon:forFrame:] never
                    called?
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
               URL: http://ditchnet.org/WebKitFaviconTest.zip
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: itod at mac.com
                CC: itod at mac.com


System: 10.5.1, MacBook 2.2GHz Intel Core 2 Duo

I have a simple (and also a not-so-simple) cocoa app with a WebView and a
controller object that is set as the WebFrameLoadDelegate for the WebView. All
of the WebFrameLoadDelegate methods seem to be called just fine except for one:

-[WebFrameLoadDelegate didReceiveIcon:forFrame:]

This is not called even when I'm visiting a page that I know has a favicon like
google.com, msn.com or apple.com.
I see no mention of this issue in WebKit Bugzilla. Google, does turn up a few
mentions of this issue over the years on the web, but there's no apparent
resolution.

I did see a suggestion to fix the issue along these lines:

        NSString *dbDir = [@"~/Library/Icons" stringByExpandingTildeInPath];
        [[NSUserDefaults standardUserDefaults] setObject:dbDir
forKey:WebIconDatabaseDirectoryDefaultsKey];

but that does not have any effect on my simple test case.

Also, I have tried downloading the WebKit nightly and linking my test case
against the WebKit.framework found therein. this does not fix the issue for me
either.

My very simple test case/Xcode project that displays the problem is located
here:

http://ditchnet.org/WebKitFaviconTest.zip


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list