Bug 20244

Summary: Why does WebCore know about QuickTime?
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, eric.carlson, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Eric Seidel (no email)
Reported 2008-07-31 12:31:10 PDT
This seems like an odd thing to have in WebCore: // Allow other plug-ins to win over QuickTime because if the user has installed a plug-in that // can handle TIFF (which QuickTime can also handle) they probably intended to override QT. if (m_frame->page() && (mimeType == "image/tiff" || mimeType == "image/tif" || mimeType == "image/x-tiff")) { String pluginName = m_frame->page()->pluginData()->pluginNameForMimeType(mimeType); if (!pluginName.isEmpty() && !pluginName.contains("QuickTime", false)) return true; } Probably should just be pushed up into the default Client call.
Attachments
Alexey Proskuryakov
Comment 1 2011-02-18 10:34:09 PST
This seems quite reasonable to me - this is just platform knowledge, and not something a client needs to decide upon. Platform knowledge belongs to WebCore. Please feel free to reopen if you still find this odd.
Note You need to log in before you can comment on or make changes to this bug.