Bug 6053 - WebIconDatabase returns the Accessibility Verifier app icon instead of a generic document icon
Summary: WebIconDatabase returns the Accessibility Verifier app icon instead of a gene...
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 12:00 PST by mitz
Modified: 2005-12-16 00:20 PST (History)
0 users

See Also:


Attachments
suggested patch (1.58 KB, patch)
2005-12-12 12:15 PST, mitz
sullivan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2005-12-12 12:00:16 PST
If you have the Accessibility Verifier application (part of the Xcode Tools) installed, then when you type 
"file:" or "file:::" in Safari's address bar, the icon in the address bar changes to the Accessibilty Verifier 
application icon.

Accessibility Verifier registers the "????" file type with Launch Services. -[WebIconDatabase 
_iconForFileURL:withSize] calls [workspace iconForFileType:@"????"] for getting the generic icon. I think the 
correct call is [workspace iconForFileType:NSFileTypeForHFSTypeCode(kGenericDocumentIcon)];
Comment 1 mitz 2005-12-12 12:15:20 PST
Created attachment 5053 [details]
suggested patch
Comment 2 John Sullivan 2005-12-12 12:54:18 PST
Comment on attachment 5053 [details]
suggested patch

Nice solution.
Comment 3 Eric Seidel (no email) 2005-12-12 13:28:24 PST
Sounds like a bug w/ Accessibility Verifier.