[epiphany] Enable web process sandbox



commit a97e962f547671e6bd24c1d6d63c736b9597f317
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Nov 23 14:24:42 2018 -0600

    Enable web process sandbox

 embed/ephy-embed-shell.c | 2 ++
 meson.build              | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 2b1ce4fdd..a6061692f 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -1215,6 +1215,8 @@ ephy_embed_shell_startup (GApplication *application)
                     G_CALLBACK (web_extension_password_manager_request_save_received_cb),
                     shell);
 
+  webkit_web_context_set_sandbox_enabled (priv->web_context, TRUE);
+
   ephy_embed_shell_setup_process_model (shell);
   g_signal_connect_object (priv->web_context, "initialize-web-extensions",
                            G_CALLBACK (initialize_web_extensions),
diff --git a/meson.build b/meson.build
index ccfc48088..3459f5261 100644
--- a/meson.build
+++ b/meson.build
@@ -70,7 +70,7 @@ endif
 glib_requirement = '>= 2.52.0'
 gtk_requirement = '>= 3.22.13'
 nettle_requirement = '>= 3.2'
-webkitgtk_requirement = '>= 2.21.92'
+webkitgtk_requirement = '>= 2.23.1'
 
 cairo_dep = dependency('cairo', version: '>= 1.2')
 gcr_dep = dependency('gcr-3', version: '>= 3.5.5')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]