Bug 58276 - Prevent duplicate plug-ins from loading on Windows due to WOW64 folder redirection
Summary: Prevent duplicate plug-ins from loading on Windows due to WOW64 folder redire...
Status: RESOLVED DUPLICATE of bug 49075
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Steve Falkenburg
URL:
Keywords:
Depends on:
Blocks: 49075
  Show dependency treegraph
 
Reported: 2011-04-11 15:22 PDT by Steve Falkenburg
Modified: 2011-04-18 09:16 PDT (History)
4 users (show)

See Also:


Attachments
Patch (7.35 KB, patch)
2011-04-11 15:55 PDT, Steve Falkenburg
no flags Details | Formatted Diff | Diff
Patch (7.38 KB, patch)
2011-04-11 15:57 PDT, Steve Falkenburg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Falkenburg 2011-04-11 15:22:31 PDT
Prevent duplicate plug-ins from loading on Windows
Comment 1 Steve Falkenburg 2011-04-11 15:55:09 PDT
Created attachment 89110 [details]
Patch
Comment 2 Steve Falkenburg 2011-04-11 15:57:16 PDT
Created attachment 89111 [details]
Patch
Comment 3 WebKit Review Bot 2011-04-11 16:00:19 PDT
Attachment 89110 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1

Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 WebKit Review Bot 2011-04-11 16:00:59 PDT
Attachment 89111 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1

Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Early Warning System Bot 2011-04-11 16:17:05 PDT
Attachment 89111 [details] did not build on qt:
Build output: http://queues.webkit.org/results/8390090
Comment 6 Adam Roben (:aroben) 2011-04-12 05:05:07 PDT
You are really good at filing duplicates of bugs I filed months ago. :-)

*** This bug has been marked as a duplicate of bug 49075 ***
Comment 7 Adam Roben (:aroben) 2011-04-12 05:08:52 PDT
Hm, I guess your fix is a bit more specific than bug 49075 describes. I've updated the title to be more specific.

I think this should probably be implemented in PluginInfoStore::shouldUsePlugin. That's where Mac makes sure that only one plugin with a given bundle identifier gets loaded, e.g.
Comment 8 Adam Roben (:aroben) 2011-04-12 05:11:23 PDT
Actually, I think maybe this is in fact a dupe of bug 49075 after all. The plan in that bug is to prevent two plugins with the same filename from being loaded. WebCore already has this behavior. That would fix this bug, too, I think (and be quite a bit simpler).

*** This bug has been marked as a duplicate of bug 49075 ***
Comment 9 Eric Seidel (no email) 2011-04-18 09:16:55 PDT
Comment on attachment 89111 [details]
Patch

Cleared review? from attachment 89111 [details] so that this bug does not appear in http://webkit.org/pending-review.  If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).