<html>
<head>
<base href="https://bugs.webkit.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:kapouer@melix.org" title="Jérémy Lal <kapouer@melix.org>"> <span class="fn">Jérémy Lal</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] [2.14.5] WebKitGTK+ always loads system-wide installed plugins"
href="https://bugs.webkit.org/show_bug.cgi?id=170541">bug 170541</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>kapouer@melix.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] [2.14.5] WebKitGTK+ always loads system-wide installed plugins"
href="https://bugs.webkit.org/show_bug.cgi?id=170541#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] [2.14.5] WebKitGTK+ always loads system-wide installed plugins"
href="https://bugs.webkit.org/show_bug.cgi?id=170541">bug 170541</a>
from <span class="vcard"><a class="email" href="mailto:kapouer@melix.org" title="Jérémy Lal <kapouer@melix.org>"> <span class="fn">Jérémy Lal</span></a>
</span></b>
<pre>Hello,
if the pluginInfoStore is not preloaded elsewhere, the behavior i'm seeing might be just right there:
--- a/Source/WebKit2/UIProcess/WebPageProxy.cpp
+++ b/Source/WebKit2/UIProcess/WebPageProxy.cpp
@@ -1315,8 +1315,9 @@
#if ENABLE(NETSCAPE_PLUGIN_API)
String newMimeType = mimeType;
+ if (!m_preferences->pluginsEnabled()) return false;
PluginModuleInfo plugin = m_process->processPool().pluginInfoStore().findPlugin(newMimeType, URL());
- if (!plugin.path.isNull() && m_preferences->pluginsEnabled())
+ if (!plugin.path.isNull())
return true;
#endif // ENABLE(NETSCAPE_PLUGIN_API)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>