commit: 3cf773a201f43573ad77876792f0a79843dfec27
parent: c31526e3a15ae326bbd08942c523dfc9baa82e4d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 31 Oct 2019 13:25:35 +0100
badwolf.c: enable sandboxing
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/badwolf.c b/badwolf.c
@@ -496,6 +496,7 @@ new_browser(struct Window *window, gchar *target_url, WebKitWebView *related_web
browser->search = gtk_search_entry_new();
WebKitWebContext *web_context = webkit_web_context_new_ephemeral();
+ webkit_web_context_set_sandbox_enabled(web_context, TRUE);
webkit_web_context_set_process_model(web_context,
WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);