Comment 16 for bug 1297872

Revision history for this message
Cliff Carson (ccarson1) wrote :

HI Sebastian,
as I said in this bug report I believe the problem is that the 14.04 distribution of Osmo was compiled under a different level of webkit causing the problem when installing Pipelight and a new level of webkit. Now that I have the latest level of webkit installed and have compiled Osmo under that level I no longer have a problem (except the call to the Pipelight functions under Osmo). Received some text from Michael about disabling plugins in webkit which I suspect should correct that problem. Appending Michael's text to this bug to inform the Osmo owners.

Cliff

Hi,

the reason why Pipelight gets active is that Webkit loads all plugins to enumerate which kind of mimetypes are supported (i.e. Flash videos, Silverlight applications, ...). I don't know exactly what goes wrong in your case, but I would suggest Osmo to simply disable plugins in Webkit if they do not need them. From a security point of view they should definitely disable them, otherwise it may be for example possible to embed a malicious flash video into a note.

I am not very familiar with using webkit as library, but i think they will need to set this setting to false:
http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html#WebKitWebSettings--enable-plugins

Other programs like for example Liferea (a RSS reader) allow to disable / enable browser plugins in their settings and they also use Webkit.

Most browsers start plugins in a separate process to avoid crashing the main process. It may therefore be possible that we have some bug inside our code which will only occurs if the plugin is loaded into the main process, but looking through the source code I was not able to find anything which could cause such a problem.

Michael