[epiphany/carlosgc/libsoup3: 101/103] Disable sandbox
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/carlosgc/libsoup3: 101/103] Disable sandbox
- Date: Thu, 22 Apr 2021 13:06:49 +0000 (UTC)
commit f5ecae5b41741be375255d28203048ef45155746
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Dec 27 10:35:33 2019 +0100
Disable sandbox
embed/ephy-embed-shell.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 278cdefd8..1e498dc2b 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -874,6 +874,7 @@ ephy_embed_shell_startup (GApplication *application)
webkit_web_context_set_process_model (priv->web_context,
WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);
+#if 0
webkit_web_context_set_sandbox_enabled (priv->web_context, TRUE);
webkit_web_context_add_path_to_sandbox (priv->web_context, ephy_profile_dir (), TRUE);
webkit_web_context_add_path_to_sandbox (priv->web_context, ephy_cache_dir (), TRUE);
@@ -881,6 +882,7 @@ ephy_embed_shell_startup (GApplication *application)
#if DEVELOPER_MODE
webkit_web_context_add_path_to_sandbox (priv->web_context, BUILD_ROOT, TRUE);
+#endif
#endif
g_signal_connect_object (priv->web_context, "initialize-web-extensions",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]