Prevent duplicate plug-ins from loading on Windows
Created attachment 89110 [details] Patch
Created attachment 89111 [details] Patch
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.
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.
Attachment 89111 [details] did not build on qt: Build output: http://queues.webkit.org/results/8390090
You are really good at filing duplicates of bugs I filed months ago. :-) *** This bug has been marked as a duplicate of bug 49075 ***
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.
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 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).