WebKit2.WebContext.prototype.set_web_process_count_limit
function set_web_process_count_limit(limit: Number(guint)): void { // Gjs wrapper for webkit_web_context_set_web_process_count_limit() }
Sets the maximum number of web processes that can be created at the same time for the context. The default value is 0 and means no limit.
This method **must be called before any web process has been created**, as early as possible in your application. Calling it later will make your application crash.
Since 2.10
- limit
the maximum number of web processes