Bug 60633

Summary: WebKit1 loads Windows Presentation Foundation plugin, but should not
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: andersca, jhoneycutt, sfalken
Priority: P2 Keywords: PlatformOnly
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Description Flags
Use case-insensitive comparisons when checking plugin filenames on Windows sfalken: review+

Description Adam Roben (:aroben) 2011-05-11 09:18:32 PDT
I have a Windows Presentation Foundation (WPF) plugin installed on my Windows XP machine. WebKit1 is loading it, WebKit2 is not. It's listed in the MozillaPlugins registry key with the path c:\WINDOWS\Microsoft.NET\Framework\v3.5\Windows Presentation Foundation\NPWPF.dll. I don't know why WebKit2 isn't loading it!
Comment 1 Adam Roben (:aroben) 2011-05-11 09:22:53 PDT
Ah, we have code that explicitly blacklists this plugin. A comment references bug 57119.
Comment 2 Adam Roben (:aroben) 2011-05-11 09:23:56 PDT
So we're intentionally not loading it. The bug, then, is that WebKit1 *is* loading it!
Comment 3 Adam Roben (:aroben) 2011-05-11 09:24:16 PDT
I think the problem is that WebKit1 is doing a case-sensitive filename check, rather than case-insensitive.
Comment 4 Adam Roben (:aroben) 2011-05-11 09:28:19 PDT
On my system, the filename is "NPWPF.dll", but WebKit1 is checking for "npwpf.dll".
Comment 5 Adam Roben (:aroben) 2011-05-11 09:51:09 PDT
Created attachment 93136 [details]
Use case-insensitive comparisons when checking plugin filenames on Windows
Comment 6 Adam Roben (:aroben) 2011-05-11 09:57:20 PDT
Committed r86242: <http://trac.webkit.org/changeset/86242>