gtkshell: Enable PSON on WebKitGTK 2.28.0+ Enable PSON (process swap on cross-site navigation), which replaces the WebKitWebProcess more often, which in turns is good for stress-testing the web extension.
1 files changed, 6 insertions(+), 1 deletions(-) M gtkshell/main.c
M gtkshell/main.c => gtkshell/main.c +6 -1
@@ 87,7 87,12 @@ build_kiln_ext_options (void) static GtkWidget* create_web_view (void) { g_autoptr(WebKitWebContext) context = webkit_web_context_new (); g_autoptr(WebKitWebContext) context = g_object_new (WEBKIT_TYPE_WEB_CONTEXT, #if WEBKIT_CHECK_VERSION(2, 28,0) "process-swap-on-cross-site-navigation-enabled", TRUE, #endif /* WEBKIT_CHECK_VERSION(2, 28, 0) */ NULL); if (s_option_extensions_path) { g_message ("WebExtensions path: %s", s_option_extensions_path);