Summary: | WebKit2 will load two copies of the same plugin, but should not | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> | ||||||
Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | andersca, jhoneycutt, sfalken | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | 58276 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Adam Roben (:aroben)
2010-11-05 10:27:10 PDT
*** Bug 58276 has been marked as a duplicate of this bug. *** *** 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> |