Changeset 86242 in webkit
- Timestamp:
- May 11, 2011 9:56:20 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86237 r86242 1 2011-05-11 Adam Roben <aroben@apple.com> 2 3 Use case-insensitive comparisons when checking plugin filenames on Windows 4 5 Windows paths are nearly always case-insensitive. 6 7 I couldn't think of a good way to test this. 8 9 Fixes <http://webkit.org/b/60633> WebKit1 loads Windows Presentation Foundation plugin, but 10 should not 11 12 Reviewed by Steve Falkenburg. 13 14 * plugins/win/PluginPackageWin.cpp: 15 (WebCore::PluginPackage::isPluginBlacklisted): Use equalIgnoringCase instead of == when 16 checking plugin filenames. 17 1 18 2011-05-11 Adam Roben <aroben@apple.com> 2 19 -
trunk/Source/WebCore/plugins/win/PluginPackageWin.cpp
r81989 r86242 72 72 if (compareFileVersion(slPluginMinRequired) < 0) 73 73 return true; 74 } else if ( fileName() == "npmozax.dll") {74 } else if (equalIgnoringCase(fileName(), "npmozax.dll")) { 75 75 // Bug 15217: Mozilla ActiveX control complains about missing xpcom_core.dll 76 76 return true; 77 } else if ( fileName() == "npwpf.dll") {77 } else if (equalIgnoringCase(fileName(), "npwpf.dll")) { 78 78 // Bug 57119: Microsoft Windows Presentation Foundation (WPF) plug-in complains about missing xpcom.dll 79 79 return true;
Note: See TracChangeset
for help on using the changeset viewer.