[epiphany/carlosgc/no-search-suggestions-web-app-mode: 1/2] Disable sandbox
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/carlosgc/no-search-suggestions-web-app-mode: 1/2] Disable sandbox
- Date: Thu, 28 Jul 2022 12:26:13 +0000 (UTC)
commit 153c6f9497e990691da4b6f5aa0caabf71395f29
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 53c47aaf6..c94180643 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -915,6 +915,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);
@@ -922,6 +923,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]