<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>170541</bug_id>
          
          <creation_ts>2017-04-06 02:06:25 -0700</creation_ts>
          <short_desc>[GTK] [2.14.5] WebKitGTK+ always loads system-wide installed plugins</short_desc>
          <delta_ts>2020-08-17 06:46:39 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alberto Garcia">berto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>kapouer</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1294829</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2017-04-06 02:06:25 -0700</bug_when>
    <thetext>One Debian user reports that WebKitGTK+ is always loading system-wide installed plugins, even if the &quot;enable-plugins&quot; setting is explicitly set to FALSE.

This is apparently causing crashes in some of this WebKitGTK+ apps.

You can see that with this command:

   strace /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser --enable-plugins=FALSE &lt;some-URL&gt;

Original bug report here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294832</commentid>
    <comment_count>1</comment_count>
    <who name="Jérémy Lal">kapouer</who>
    <bug_when>2017-04-06 02:22:15 -0700</bug_when>
    <thetext>Hello,

if the pluginInfoStore is not preloaded elsewhere, the behavior i&apos;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-&gt;pluginsEnabled()) return false;
     PluginModuleInfo plugin = m_process-&gt;processPool().pluginInfoStore().findPlugin(newMimeType, URL());
-    if (!plugin.path.isNull() &amp;&amp; m_preferences-&gt;pluginsEnabled())
+    if (!plugin.path.isNull())
         return true;
 #endif // ENABLE(NETSCAPE_PLUGIN_API)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294869</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-04-06 07:31:17 -0700</bug_when>
    <thetext>That patch looks sane to me. Now does it work? :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294892</commentid>
    <comment_count>3</comment_count>
    <who name="Jérémy Lal">kapouer</who>
    <bug_when>2017-04-06 08:29:42 -0700</bug_when>
    <thetext>It doesn&apos;t. I&apos;ll try something else later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1419829</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-05-02 13:49:21 -0700</bug_when>
    <thetext>(In reply to Jérémy Lal from comment #3)
&gt; It doesn&apos;t. I&apos;ll try something else later.

Hi Jérémy! By any chance, did you get to try something else in the end?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680791</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-08-17 06:46:39 -0700</bug_when>
    <thetext>Plugins are no longer supported.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>