Bug 6053

Summary: WebIconDatabase returns the Accessibility Verifier app icon instead of a generic document icon
Product: WebKit Reporter: mitz
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: VERIFIED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
suggested patch sullivan: review+

mitz
Reported 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)];
Attachments
suggested patch (1.58 KB, patch)
2005-12-12 12:15 PST, mitz
sullivan: review+
mitz
Comment 1 2005-12-12 12:15:20 PST
Created attachment 5053 [details] suggested patch
John Sullivan
Comment 2 2005-12-12 12:54:18 PST
Comment on attachment 5053 [details] suggested patch Nice solution.
Eric Seidel (no email)
Comment 3 2005-12-12 13:28:24 PST
Sounds like a bug w/ Accessibility Verifier.
Note You need to log in before you can comment on or make changes to this bug.