Summary: | [GTK] [2.14.5] WebKitGTK+ always loads system-wide installed plugins | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alberto Garcia <berto> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | aperez, bugs-noreply, cgarcia, kapouer, mcatanzaro |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Alberto Garcia
2017-04-06 02:06:25 PDT
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) That patch looks sane to me. Now does it work? :) It doesn't. I'll try something else later. (In reply to Jérémy Lal from comment #3) > It doesn't. I'll try something else later. Hi Jérémy! By any chance, did you get to try something else in the end? Plugins are no longer supported. |