WebKit2.ProcessModel

Enum values used for determining the WebKit2.WebContext process model.

Since 2.4

ProcessModel.SHARED_SECONDARY_PROCESS

Use a single process to perform content rendering. The process is shared among all the WebKit2.WebView instances created by the application: if the process hangs or crashes all the web views in the application will be affected. This is the default process model, and it should suffice for most cases.

ProcessModel.MULTIPLE_SECONDARY_PROCESSES

Use one process for each WebKit2.WebView, while still allowing for some of them to share a process in certain situations. The main advantage of this process model is that the rendering process for a web view can crash while the rest of the views keep working normally. This process model is indicated for applications which may use a number of web views and the content of in each must not interfere with the rest — for example a full-fledged web browser with support for multiple tabs.