set_sandbox_enabled


Description:

[ Version ( since = "2.26" ) ]
public void set_sandbox_enabled (bool enabled)

Set whether WebKit subprocesses will be sandboxed.

Set whether WebKit subprocesses will be sandboxed, limiting access to the system. This method **must be called before any web process has been created**, as early as possible in your application. Calling it later is a fatal error.

This is only implemented on Linux and is a no-op otherwise.

Parameters:

this

a WebContext

enabled

if true enable sandboxing




2022 vala-language.org