[Webkit-unassigned] [Bug 170541] [GTK] [2.14.5] WebKitGTK+ always loads system-wide installed plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 6 02:22:15 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170541

Jérémy Lal <kapouer at melix.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kapouer at melix.org

--- Comment #1 from Jérémy Lal <kapouer at melix.org> ---
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170406/3a754c47/attachment.html>


More information about the webkit-unassigned mailing list