[epiphany] Disable sandbox for the moment
- From: Jan-Michael Brummer <jbrummer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Disable sandbox for the moment
- Date: Tue, 21 Jan 2020 06:12:50 +0000 (UTC)
commit 5cccff5234488631e8be6ace1ea5ddaceedd8d19
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Mon Jan 20 21:40:56 2020 +0100
Disable sandbox for the moment
Sandbox breaks several features within Epiphany, e.g.
- printing
- local web browsing
- file listing
Disable it for the moment until those issue are resolved in webkit.
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/1060
embed/ephy-embed-shell.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 9b4c1f712..2331ba992 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -841,7 +841,13 @@ ephy_embed_shell_startup (GApplication *application)
webkit_web_context_set_process_model (priv->web_context,
WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);
- webkit_web_context_set_sandbox_enabled (priv->web_context, TRUE);
+ /* Disable sandbox for the moment until:
+ * - printing: https://bugs.webkit.org/show_bug.cgi?id=202363
+ * - local browsing: https://bugs.webkit.org/show_bug.cgi?id=202071
+ * - leaking sockets: https://bugs.webkit.org/show_bug.cgi?id=201771
+ * are fixed.
+ */
+ webkit_web_context_set_sandbox_enabled (priv->web_context, FALSE);
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);
webkit_web_context_add_path_to_sandbox (priv->web_context, ephy_config_dir (), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]