[epiphany/gnome-3-34] Disable sandbox for the moment
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-34] Disable sandbox for the moment
- Date: Tue, 21 Jan 2020 16:21:37 +0000 (UTC)
commit a2d8be4d2e9685a0d9d2acda6fdb3054523118a1
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 7116abb72..64683f7ee 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -1150,7 +1150,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_file_tmp_dir (), 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]