WebKit2 will load two different versions of the same plugin. For example, if you have both Shockwave Director 10.3 and 11.5 installed, WebKit2 will load them both. But we should only load the newer one.
<rdar://problem/8635947>
*** Bug 58276 has been marked as a duplicate of this bug. ***
Even if the plug-in is the same version, we can end up loading two copies if Windows path redirection comes into play (SysWOW64 vs. System32 for example).
Created attachment 89461 [details] Patch
Committed r83769: <http://trac.webkit.org/changeset/83769>
Comment on attachment 89461 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=89461&action=review > Source/WebKit2/UIProcess/Plugins/win/PluginInfoStoreWin.cpp:396 > + String pluginPath = plugin.path; > + String pluginFileName(::PathFindFileNameW(pluginPath.charactersWithNullTermination())); You can use pathGetFileName from WebCore/FileSystem.h. > Source/WebKit2/UIProcess/Plugins/win/PluginInfoStoreWin.cpp:401 > + String loadedPluginFileName(::PathFindFileNameW(loadedPlugin.path.charactersWithNullTermination())); Ditto.
Created attachment 89471 [details] Patch
Committed r83772: <http://trac.webkit.org/changeset/83772>