RESOLVED FIXED 49075
WebKit2 will load two copies of the same plugin, but should not
https://bugs.webkit.org/show_bug.cgi?id=49075
Summary WebKit2 will load two copies of the same plugin, but should not
Adam Roben (:aroben)
Reported Friday, November 5, 2010 6:27:10 PM UTC
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.
Attachments
Patch (2.23 KB, patch)
2011-04-13 14:32 PDT, Steve Falkenburg
no flags
Patch (2.03 KB, patch)
2011-04-13 15:07 PDT, Steve Falkenburg
aroben: review+
Adam Roben (:aroben)
Comment 1 Friday, November 5, 2010 6:27:37 PM UTC
Adam Roben (:aroben)
Comment 2 Tuesday, April 12, 2011 1:05:07 PM UTC
*** Bug 58276 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 3 Tuesday, April 12, 2011 1:11:23 PM UTC
*** Bug 58276 has been marked as a duplicate of this bug. ***
Steve Falkenburg
Comment 4 Wednesday, April 13, 2011 8:17:02 PM UTC
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).
Steve Falkenburg
Comment 5 Wednesday, April 13, 2011 10:32:58 PM UTC
Steve Falkenburg
Comment 6 Wednesday, April 13, 2011 10:38:30 PM UTC
Adam Roben (:aroben)
Comment 7 Wednesday, April 13, 2011 10:44:55 PM UTC
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.
Steve Falkenburg
Comment 8 Wednesday, April 13, 2011 11:07:22 PM UTC
Steve Falkenburg
Comment 9 Wednesday, April 13, 2011 11:11:41 PM UTC
Note You need to log in before you can comment on or make changes to this bug.