WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
2010-11-05 10:27:10 PDT
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
Details
Formatted Diff
Diff
Patch
(2.03 KB, patch)
2011-04-13 15:07 PDT
,
Steve Falkenburg
aroben
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2010-11-05 10:27:37 PDT
<
rdar://problem/8635947
>
Adam Roben (:aroben)
Comment 2
2011-04-12 05:05:07 PDT
***
Bug 58276
has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
Comment 3
2011-04-12 05:11:23 PDT
***
Bug 58276
has been marked as a duplicate of this bug. ***
Steve Falkenburg
Comment 4
2011-04-13 12:17:02 PDT
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
2011-04-13 14:32:58 PDT
Created
attachment 89461
[details]
Patch
Steve Falkenburg
Comment 6
2011-04-13 14:38:30 PDT
Committed
r83769
: <
http://trac.webkit.org/changeset/83769
>
Adam Roben (:aroben)
Comment 7
2011-04-13 14:44:55 PDT
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
2011-04-13 15:07:22 PDT
Created
attachment 89471
[details]
Patch
Steve Falkenburg
Comment 9
2011-04-13 15:11:41 PDT
Committed
r83772
: <
http://trac.webkit.org/changeset/83772
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug