[geary/gnumdk/sanbox: 2/2] Revert "Components.WebView: Fix printing to PDF with WebKitGTK sandbox enabled"
- From: Cédric Bellegarde <cbellegarde src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/gnumdk/sanbox: 2/2] Revert "Components.WebView: Fix printing to PDF with WebKitGTK sandbox enabled"
- Date: Wed, 19 Oct 2022 07:01:50 +0000 (UTC)
commit 1daeba3e803dfd5cbbdc789e5417f6f371853c02
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date: Wed Oct 19 09:03:26 2022 +0200
Revert "Components.WebView: Fix printing to PDF with WebKitGTK sandbox enabled"
This reverts commit 5a54e470b207b3207d84c5d53f3b101a98e95bf4.
src/client/components/components-web-view.vala | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/client/components/components-web-view.vala b/src/client/components/components-web-view.vala
index cfedc9a96..6e2dfcb88 100644
--- a/src/client/components/components-web-view.vala
+++ b/src/client/components/components-web-view.vala
@@ -82,9 +82,6 @@ public abstract class Components.WebView : WebKit.WebView, Geary.BaseInterface {
WebKit.WebContext context = new WebKit.WebContext.with_website_data_manager(data_manager);
// Enable WebProcess sandboxing
context.add_path_to_sandbox(web_extension_dir.get_path(), true);
- // Add the whole home directory otherwise print-to-PDF won't work.
- // See https://bugs.webkit.org/show_bug.cgi?id=202363
- context.add_path_to_sandbox(GLib.Environment.get_home_dir(), false);
context.set_sandbox_enabled(true);
// Use the doc browser model so that we get some caching of
// resources between email body loads.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]